Skip to content

Commit

Permalink
ci: use a different event to not trigger the preview deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Sep 7, 2023
1 parent 2ba3ec5 commit 717232e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/website_deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
preview-deploy:
runs-on: ubuntu-latest
environment: Website deployment
if: ${{ github.repository_owner == 'biomejs' }}
# Check if the event is not triggered by a fork
if: github.event.pull_request.head.repo.full_name == github.repository
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit 717232e

Please sign in to comment.