From f5ef5d32223fb9b88d75b06bd5a9a0fc450b327b Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 2 Oct 2019 11:03:48 +0200 Subject: [PATCH] Fix master ref in if condition of deploy job --- .github/workflows/build-site.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index 615cf5c6..f4f46ebb 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -66,18 +66,11 @@ jobs: - run: bin/misspell -error blog/content name: "Check for common typos" - __debug: - runs-on: ubuntu-latest - needs: [build_site, check_spelling] - - steps: - - run: echo ${{ github.ref }} - deploy_site: name: "Deploy Generated Site" runs-on: ubuntu-latest needs: [build_site, check_spelling] - if: github.ref == 'master' && github.event_name == 'push' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' steps: - name: "Download Generated Site"