diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 6ec0a2e..5abde60 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -78,7 +78,7 @@ jobs: # Deployment job deploy: if: | - github.event.push.ref == 'refs/heads/master' + github.ref == 'refs/heads/master' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}