Update the documentation and the push process (#135)
* doc: Update the documentation and the push process
This commit is contained in:
committed by
GitHub
parent
4dcce6dea3
commit
552c074ed7
10
start.sh
Executable file → Normal file
10
start.sh
Executable file → Normal file
@@ -46,8 +46,10 @@ else
|
||||
remote_repo="${INPUT_GITHUB_URL_PROTOCOL}//${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@${INPUT_GITHUB_URL}/${REPOSITORY}.git"
|
||||
fi
|
||||
|
||||
if ${INPUT_FORCE_WITH_LEASE}; then
|
||||
git push $_ATOMIC_OPTION --follow-tags $_FORCE_OPTION $_TAGS;
|
||||
else
|
||||
git push "${remote_repo}" HEAD:${INPUT_BRANCH} $_ATOMIC_OPTION --verbose --follow-tags $_FORCE_OPTION $_TAGS;
|
||||
git config --local --add safe.directory ${INPUT_DIRECTORY}
|
||||
|
||||
if ! ${INPUT_FORCE_WITH_LEASE}; then
|
||||
ADDITIONAL_PARAMETERS="${remote_repo} HEAD:${INPUT_BRANCH}"
|
||||
fi
|
||||
|
||||
git push $ADDITIONAL_PARAMETERS $_ATOMIC_OPTION --follow-tags $_FORCE_OPTION $_TAGS;
|
||||
|
Reference in New Issue
Block a user