Skip to content

Commit c6835c2

Browse files
authored
Merge pull request #18 from ntnn/no-preview-external-pr
2 parents e16a46d + 2befba7 commit c6835c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
# deploy the PR to a preview URL
5858
- uses: rossjrw/pr-preview-action@9f77b1d057b494e662c50b8ca40ecc63f21e0887 # v1
59-
if: ${{ github.event_name == 'pull_request' }}
59+
if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }}
6060
with:
6161
source-dir: .vitepress/dist
6262

0 commit comments

Comments
 (0)