Skip to content

Commit e2348e5

Browse files
committed
Allow PRs to generate previews
1 parent 0d416de commit e2348e5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
on: [push]
1+
on:
2+
push:
3+
pull_request_target:
4+
types: [opened, synchronize, reopened]
25

36
jobs:
47
deploy:
@@ -7,6 +10,7 @@ jobs:
710
permissions:
811
contents: read
912
deployments: write
13+
pull-requests: write
1014

1115
name: Deploy to Cloudflare Pages
1216

0 commit comments

Comments
 (0)