Skip to content

Commit

Permalink
Merge pull request #2396 from IDEMSInternational/ChrisMarsh82-patch-1
Browse files Browse the repository at this point in the history
Update reusable-deploy-web-preview.yml
  • Loading branch information
ChrisMarsh82 authored Sep 6, 2024
2 parents 9c0cc7d + e30e704 commit 2b12038
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/reusable-deploy-web-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ on:
description: Firebase site for hosting
type: string
default: ${{vars.FIREBASE_HOSTING_TARGET}}
firebase-service-account:
description: Service account passed from outside organisation
type: string
default: ${{secrets.FIREBASE_SERVICE_ACCOUNT}}
secrets: # Declare secrets you expect to receive
FIREBASE_SERVICE_ACCOUNT:
required: true

jobs:
build_action:
Expand Down Expand Up @@ -105,7 +104,7 @@ jobs:
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ inputs.firebase-service-account }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}"
projectId: "${{ env.FIREBASE_PROJECT_ID }}"
channelId: "${{ env.FIREBASE_HOSTING_CHANNEL }}"
target: "${{inputs.firebase-host}}"
Expand Down

0 comments on commit 2b12038

Please sign in to comment.