WIP
This commit is contained in:
parent
f0354eba45
commit
42e5be9ebb
@ -10,7 +10,7 @@ inputs:
|
|||||||
branch:
|
branch:
|
||||||
description: Git branch name, where changes should be pushed too.
|
description: Git branch name, where changes should be pushed too.
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: ''
|
||||||
commit_options:
|
commit_options:
|
||||||
description: Commit options (eg. --no-verify)
|
description: Commit options (eg. --no-verify)
|
||||||
required: false
|
required: false
|
||||||
|
@ -55,14 +55,12 @@ _local_commit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_push_to_github() {
|
_push_to_github() {
|
||||||
git push origin
|
if [ -n "$INPUT_BRANCH" ]
|
||||||
|
then
|
||||||
# if [ -z "$INPUT_BRANCH" ]
|
git push origin
|
||||||
# then
|
else
|
||||||
# git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
|
||||||
# else
|
fi
|
||||||
# git push origin
|
|
||||||
# fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_main
|
_main
|
||||||
|
Loading…
Reference in New Issue
Block a user