Add input git push options

This commit is contained in:
Steve Lacy
2021-05-20 09:39:31 -10:00
parent 7040c46162
commit 707db76837
3 changed files with 5 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ if _git_changed; then
git push origin -f
else
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$GITHUB_ACTOR <$GITHUB_ACTOR@users.noreply.github.com>" ${INPUT_COMMIT_OPTIONS:+"$INPUT_COMMIT_OPTIONS"} || echo "No files added to commit"
git push origin
git push origin $INPUT_PUSH_OPTIONS
fi
echo "Changes pushed successfully."
fi