Skip to content

Commit

Permalink
ci(website): Add condition to allow access to secrets for PRs from fo…
Browse files Browse the repository at this point in the history
…rks (#1308)
  • Loading branch information
vbuberen authored Oct 31, 2022
1 parent 8d7ef27 commit ce2a90b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_preview_website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ concurrency:
cancel-in-progress: true

on:
pull_request:
pull_request_target:
types: [ labeled ]
paths:
- "docs/**"
- "website/**"
Expand Down Expand Up @@ -35,6 +36,7 @@ jobs:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'safe_deploy')
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down

0 comments on commit ce2a90b

Please sign in to comment.