File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3131 git-config-email : 41898282+github-actions[bot]@users.noreply.github.com
3232 - name : Deploy to subdirectory if pull request 🚀
3333 # This does not work for PRs from forks
34- if : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'python-docs-translations/dashboard' }}
34+ if : github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork
3535 uses : JamesIves/github-pages-deploy-action@v4
3636 with :
3737 folder : build
4040 git-config-name : github-actions[bot]
4141 git-config-email : 41898282+github-actions[bot]@users.noreply.github.com
4242 - name : Update PR description if pull request
43- if : github.event_name == 'pull_request'
43+ # This does not work for PRs from forks
44+ if : github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork
44454546 with :
4647 auth : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments