Skip to content

Commit

Permalink
Fix firebase hosting pull request event
Browse files Browse the repository at this point in the history
  • Loading branch information
danim1130 committed Jan 5, 2025
1 parent 92175a0 commit e244887
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/firebase-hosting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ jobs:
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_GRID_EDITOR_WEB }}"
projectId: grid-editor-web

- name: Deploy to Firebase Hosting Live channel on push
- name: Deploy to Firebase Hosting on pull request
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
channelId: live
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_GRID_EDITOR_WEB }}"
projectId: grid-editor-web

0 comments on commit e244887

Please sign in to comment.