Skip to content

Commit 8776916

Browse files
committed
Enhance deploy job condition to check for pull request repository
Signed-off-by: Lee Calcote <[email protected]>
1 parent 82c6f97 commit 8776916

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/static.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ concurrency:
2323
jobs:
2424
# Single deploy job since we're just deploying
2525
deploy:
26+
if: github.event.pull_request.head.repo.full_name != github.repository
27+
2628
environment:
2729
name: pr-preview-${{ github.event.pull_request.number || github.run_id }}
2830
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)