From a93a9a308d7ab4037c17628e5d0891cd9bc71808 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Tue, 27 Aug 2019 20:30:31 +0200 Subject: [PATCH] Use git checkout --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 073ed4a..419e8a6 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,7 @@ set -eu # Switch to branch from current Workflow run -git switch "${GITHUB_REF:11}" +git checkout "${GITHUB_REF:11}" # Set origin URL git remote set-url origin https://$TOKEN:x-oauth-basic@github.com/$GITHUB_REPOSITORY