From 0b91625aed13f5bc242f8a40af2f456ebec215b0 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Fri, 20 Sep 2019 10:11:50 +0200 Subject: [PATCH] WIP --- entrypoint.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 .