From de29d1bd1f9cc0ee68b26bd9a71c2ddd12b7cf36 Mon Sep 17 00:00:00 2001 From: Jan Raasch Date: Thu, 9 Jul 2020 10:32:15 +0200 Subject: [PATCH] chore(ci): fix .ref-reference See https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e0260a..d19fce3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: run: hugo --minify --gc --source ./exampleSite --baseURL https://janraasch.github.io/hugo-scroll/ - name: Deploy to GitHub Pages - if: github.event_name == 'push' && github.event.ref == 'master' + if: github.event_name == 'push' && github.ref == 'master' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}