diff --git a/.github/workflows/build-deploy-doc.yml b/.github/workflows/build-deploy-doc.yml index 111677d15..64c52fc3e 100644 --- a/.github/workflows/build-deploy-doc.yml +++ b/.github/workflows/build-deploy-doc.yml @@ -56,6 +56,7 @@ jobs: command: pages deploy --project-name=documentation dist/ - name: Comment with preview URL + if: github.event_name == 'pull_request' uses: actions/github-script@v7 with: script: |