File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,13 @@ jobs:
28
28
- name : Build HTML Docs
29
29
run : VERSION=${{ github.event.repository.default_branch }} JOBS=4 MODE=html make all
30
30
31
- - uses : actions/create-github-app-token@v2
32
- id : app-token
33
- with :
34
- app-id : ${{ secrets.APP_ID }}
35
- private-key : ${{ secrets.APP_PRIVATE_KEY }}
36
-
37
31
- name : Deploy PR Doc Preview
32
+ # PR from the forked repo would be denied as the permission is not granted.
33
+ # Allow only PR from this repo.
34
+ if : ${{ ( github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name ) }}
38
35
uses : rossjrw/pr-preview-action@v1
39
36
with :
40
37
source-dir : ../cpython/Doc/build/html
41
- token : ${{ steps.app-token.outputs.token }}
42
38
preview-branch : gh-pages
43
39
umbrella-dir : pr-preview
44
40
action : auto
You can’t perform that action at this time.
0 commit comments