mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-01-05 02:15:35 +00:00
Use $PUSH_BRANCH in git push command
This commit is contained in:
parent
ea88bd7cde
commit
f4fd59c4d4
@ -34,7 +34,7 @@ then
|
|||||||
|
|
||||||
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR_NAME <$INPUT_COMMIT_AUTHOR_EMAIL>"
|
git commit -m "$INPUT_COMMIT_MESSAGE" --author="$INPUT_COMMIT_AUTHOR_NAME <$INPUT_COMMIT_AUTHOR_EMAIL>"
|
||||||
|
|
||||||
git push --set-upstream origin "${GITHUB_REF:11}"
|
git push --set-upstream origin $PUSH_BRANCH
|
||||||
else
|
else
|
||||||
echo "Working tree clean. Nothing to commit."
|
echo "Working tree clean. Nothing to commit."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user