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 }}