From e244887c61f4104a09f1aaf3ca4e9265e7619687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1sztor=20D=C3=A1niel?= Date: Sun, 5 Jan 2025 02:44:24 +0100 Subject: [PATCH] Fix firebase hosting pull request event --- .github/workflows/firebase-hosting.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/firebase-hosting.yml b/.github/workflows/firebase-hosting.yml index 3337f879..62515883 100644 --- a/.github/workflows/firebase-hosting.yml +++ b/.github/workflows/firebase-hosting.yml @@ -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