Skip to content

Commit 4f3aeb6

Browse files
authored
Merge pull request #162 from remcoder/fix/pr-deploy
Fix the PR deploy to run on the PR and not the PR target
2 parents 6afa4e3 + af58686 commit 4f3aeb6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
name: Deploy to Firebase Hosting on PR
55

6-
on:
7-
pull_request_target:
6+
on:
7+
pull_request:
88
branches: [ develop ]
99

1010
jobs:
1111
build_and_preview:
1212
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
13-
13+
1414
runs-on: ubuntu-latest
15-
15+
1616
steps:
1717
- uses: actions/checkout@v4
1818
- run: npm ci && npm run predemo

0 commit comments

Comments
 (0)