diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 06f82c1..67b793e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,6 +21,6 @@ jobs: - uses: actions/upload-pages-artifact@v1 with: path: build - if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' - uses: actions/deploy-pages@v2 - if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' + if: github.ref == 'refs/heads/master' && github.event_name == 'push'