diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index ddc5199..3e0632f 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -15,7 +15,6 @@ jobs: contents: write pull-requests: write pages: write - repository-projects: write steps: @@ -30,6 +29,7 @@ jobs: run: doxygen Doxyfile - name: Deploy to GitHub Pages + if: github.event_name == 'push' && github.ref == 'refs/heads/main' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}