diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c889458..bb817ad 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -48,7 +48,7 @@ jobs: - name: Deploy - if: success() && github.event_name == 'release' + if: success() && github.event.pull_request.merged uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }}