diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 1e7132b..5aa2f46 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -38,6 +38,7 @@ jobs: make html - name: Deploy to GitHub Pages + if: github.event_name == 'push' && github.ref == 'refs/heads/master' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}