From ff003dd4ae405e690db33694674633c8b83a418a Mon Sep 17 00:00:00 2001 From: Sam Rabin Date: Thu, 3 Oct 2024 13:34:00 -0600 Subject: [PATCH] Have "Push PR preview" even on fork branches? Maybe? --- .github/workflows/docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d35cbe1c58..bcef74e9f3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -89,8 +89,7 @@ jobs: make BUILDDIR=${PWD}/_build -C doc/ html - name: Push PR preview if: | - github.event_name == 'pull_request' && - github.event.pull_request.head.repo.full_name == github.repository + github.event_name == 'pull_request' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{secrets.GITHUB_TOKEN}}