diff --git a/tests/data/test_package_generation/.github/workflows/docs.yml b/tests/data/test_package_generation/.github/workflows/docs.yml index 6b7d5427..67272c0b 100644 --- a/tests/data/test_package_generation/.github/workflows/docs.yml +++ b/tests/data/test_package_generation/.github/workflows/docs.yml @@ -47,6 +47,7 @@ jobs: id-token: write runs-on: ubuntu-latest needs: build + if: github.event_name != 'pull_request' steps: - name: Deploy to GitHub Pages id: deployment diff --git a/{{cookiecutter.project_slug}}/.github/workflows/docs.yml b/{{cookiecutter.project_slug}}/.github/workflows/docs.yml index 692408da..73d6cd7b 100644 --- a/{{cookiecutter.project_slug}}/.github/workflows/docs.yml +++ b/{{cookiecutter.project_slug}}/.github/workflows/docs.yml @@ -47,6 +47,7 @@ jobs: id-token: write runs-on: ubuntu-latest needs: build + if: github.event_name != 'pull_request' steps: - name: Deploy to GitHub Pages id: deployment