Skip to content

Commit

Permalink
Update the file
Browse files Browse the repository at this point in the history
  • Loading branch information
ZPascal committed Jun 10, 2022
1 parent 97a9d9f commit cf69c72
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ cd ${INPUT_DIRECTORY}
remote_repo="${INPUT_GITHUB_URL_PROTOCOL}//${GITHUB_ACTOR}:${INPUT_GITHUB_TOKEN}@${INPUT_GITHUB_URL}/${REPOSITORY}.git"
git config --local --add safe.directory ${INPUT_DIRECTORY}

echo "INPUT VARIABLES"
echo ${INPUT_PULL_FIRST}

if ${INPUT_PULL_FIRST}; then
git pull --rebase
git pull --rebase
git push --follow-tags $_FORCE_OPTION $_TAGS;
else
git push "${remote_repo}" HEAD:${INPUT_BRANCH} --follow-tags $_FORCE_OPTION $_TAGS;
fi

git push "${remote_repo}" HEAD:${INPUT_BRANCH} --follow-tags $_FORCE_OPTION $_TAGS;

0 comments on commit cf69c72

Please sign in to comment.