Skip to content

Commit

Permalink
Fix previews workflow (#22)
Browse files Browse the repository at this point in the history
* add missing permission for preview bot

* change trigger from PR to PR target

* add on PR .yml to run preview

* use one file instead
  • Loading branch information
brauliorivas authored May 23, 2024
1 parent 86328a3 commit ed395c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
name: Deploy PR previews to GitHub Pages
concurrency: preview-${{ github.ref }}
on:
pull_request:
pull_request_target:
types:
- opened
- reopened
- synchronize
- closed

permissions:
contents: write
pull-requests: write
jobs:
deploy-preview:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ed395c8

Please sign in to comment.