mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-01-05 02:15:35 +00:00
WIP
This commit is contained in:
parent
0884c39e7e
commit
5a4e81ccd7
@ -57,9 +57,9 @@ _local_commit() {
|
|||||||
_push_to_github() {
|
_push_to_github() {
|
||||||
if [ -n "$INPUT_BRANCH" ]
|
if [ -n "$INPUT_BRANCH" ]
|
||||||
then
|
then
|
||||||
git push origin
|
|
||||||
else
|
|
||||||
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
||||||
|
else
|
||||||
|
git push origin
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user