This commit is contained in:
Stefan Zweifel 2020-02-05 21:28:18 +01:00
parent 5ab45a4eef
commit 0884c39e7e

View File

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