WIP
This commit is contained in:
parent
af7b14b2cf
commit
f0354eba45
@ -55,12 +55,14 @@ _local_commit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_push_to_github() {
|
_push_to_github() {
|
||||||
if [ -z "$INPUT_BRANCH" ]
|
|
||||||
then
|
|
||||||
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
|
||||||
else
|
|
||||||
git push origin
|
git push origin
|
||||||
fi
|
|
||||||
|
# if [ -z "$INPUT_BRANCH" ]
|
||||||
|
# then
|
||||||
|
# git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
||||||
|
# else
|
||||||
|
# git push origin
|
||||||
|
# fi
|
||||||
}
|
}
|
||||||
|
|
||||||
_main
|
_main
|
||||||
|
Loading…
Reference in New Issue
Block a user