1
0
mirror of https://github.com/stefanzweifel/git-auto-commit-action.git synced 2026-02-03 06:07:16 +08:00
This commit is contained in:
Stefan Zweifel
2020-02-05 21:36:48 +01:00
parent af7b14b2cf
commit f0354eba45

View File

@@ -55,12 +55,14 @@ _local_commit() {
}
_push_to_github() {
if [ -z "$INPUT_BRANCH" ]
then
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
else
git push origin
fi
git push origin
# if [ -z "$INPUT_BRANCH" ]
# then
# git push --set-upstream origin "HEAD:$INPUT_BRANCH"
# else
# git push origin
# fi
}
_main