diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 44d7fae..c46c767 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -24,6 +24,7 @@ jobs: - run: mdbook build - name: Deploy + if: ${{ github.event_name == 'push' }} uses: peaceiris/actions-gh-pages@v3 # if: ${{ github.ref == 'refs/heads/main' }} with: