WIP
This commit is contained in:
parent
5ab45a4eef
commit
0884c39e7e
@ -55,11 +55,11 @@ _local_commit() {
|
||||
}
|
||||
|
||||
_push_to_github() {
|
||||
if [ -z $INPUT_BRANCH ]
|
||||
if [ -n "$INPUT_BRANCH" ]
|
||||
then
|
||||
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
||||
else
|
||||
git push origin
|
||||
else
|
||||
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user