From 5b777f62778b442b84f80fb6c0cc105654bfad84 Mon Sep 17 00:00:00 2001 From: toririm Date: Sat, 21 Sep 2024 02:27:48 +0900 Subject: [PATCH] setup: cd --- .github/workflows/firebase-hosting-merge.yml | 2 ++ .github/workflows/firebase-hosting-pull-request.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index f41e4c10..60071855 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -24,6 +24,8 @@ jobs: if: steps.cache-node-modules.outputs.cache-hit != 'true' run: bun install --frozen-lockfile - run: bun run build + env: + WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 62218681..5fd88404 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -26,6 +26,8 @@ jobs: if: steps.cache-node-modules.outputs.cache-hit != 'true' run: bun install --frozen-lockfile - run: bun run build + env: + WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }} - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: ${{ secrets.GITHUB_TOKEN }}