diff --git a/entrypoint.sh b/entrypoint.sh index 9a6c847..c0c069e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,10 +27,8 @@ then : ${PUSH_BRANCH:=`echo "$GITHUB_HEAD_REF" | awk -F / '{ print $3 }' `} - git switch -c $PUSH_BRANCH - # Switch to branch from current Workflow run - git checkout $PUSH_BRANCH + git checkout -b $PUSH_BRANCH git add .