From 078462b2460433541d48abb317a12cef8d0f92eb Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 19 Jun 2022 10:32:12 -0700 Subject: [PATCH] Remove additional branching --- .github/workflows/docker-nightly-earthly.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/docker-nightly-earthly.yaml b/.github/workflows/docker-nightly-earthly.yaml index 7d709908c..816bed44e 100644 --- a/.github/workflows/docker-nightly-earthly.yaml +++ b/.github/workflows/docker-nightly-earthly.yaml @@ -36,12 +36,4 @@ jobs: if: env.GH_CR_PAT != null env: GH_CR_PAT: ${{ secrets.GH_CR_PAT }} - run: | - branch="" - if [ -n "$GITHUB_HEAD_REF" ]; then - branch="$GITHUB_HEAD_REF" - else - branch="${GITHUB_REF##*/}" - fi - git checkout -b "$branch" || true - cd build/release && ./docker-nightly-earthly.sh + run: cd build/release && ./docker-nightly-earthly.sh