Add GitHub Enterprise support (#108)
* * Add GitHub url and GitHub Enterprise support * Update the GitHub action * Update build.yml Remove push command * Update the PR and remove the test mode * Delete build-pr.yml * Update README.md
This commit is contained in:
committed by
GitHub
parent
887c31bd83
commit
694e694af3
3
start.sh
3
start.sh
@ -23,8 +23,7 @@ fi
|
||||
|
||||
cd ${INPUT_DIRECTORY}
|
||||
|
||||
remote_repo="https://${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@github.com/${REPOSITORY}.git"
|
||||
|
||||
remote_repo="${INPUT_GITHUB_URL_PROTOCOL}//${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@${INPUT_GITHUB_URL}/${REPOSITORY}.git"
|
||||
git config --local --add safe.directory ${INPUT_DIRECTORY}
|
||||
|
||||
git push "${remote_repo}" HEAD:${INPUT_BRANCH} --follow-tags $_FORCE_OPTION $_TAGS;
|
||||
|
Reference in New Issue
Block a user