diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 547bc881..d15f4ccb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,7 @@ jobs: deploy: needs: [ build ] - if: github.action == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' environment: name: github-pages permissions: