Skip to content

Commit

Permalink
Have "Push PR preview" even on fork branches?
Browse files Browse the repository at this point in the history
Maybe?
  • Loading branch information
samsrabin committed Oct 3, 2024
1 parent e95c291 commit ff003dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit ff003dd

Please sign in to comment.