diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b2823e7..33ee03f 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -67,7 +67,7 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v4 - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'release' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }}