Skip to content

Commit

Permalink
no preview for forks (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin authored Feb 4, 2025
1 parent 774c9fe commit 9c3d4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
jobs: ${{ toJSON(needs) }}

deploy-preview:
if: "success() && github.ref != 'refs/heads/main'"
if: 'success() && github.event.pull_request.head.repo.full_name == github.repository'
runs-on: ubuntu-latest
needs: [check]
environment:
Expand Down

0 comments on commit 9c3d4c0

Please sign in to comment.