File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 5050 node-version : " 20"
5151 cache : " yarn"
5252
53+ - name : Authenticate to Google Cloud
54+ id : auth
55+ uses : google-github-actions/auth@b7593ed2efd1c1617e1b0254da33b86225adb2a5
56+ with :
57+ workload_identity_provider : ${{ secrets.WIF_PROVIDER }}
58+ service_account : ${{ secrets.WIF_SERVICE_ACCOUNT }}
59+
60+ - name : Export Google Cloud Credentials
61+ run : echo "GCP_SA_KEY=$(cat ${{ steps.auth.outputs.credentials_file_path }})" >> $GITHUB_ENV
62+
5363 - uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4
5464 with :
5565 name : build
6272 uses : FirebaseExtended/action-hosting-deploy@0cbcac4740c2bfb00d632f0b863b57713124eb5a # v0.9.0
6373 with :
6474 repoToken : " ${{ secrets.GITHUB_TOKEN }}"
65- firebaseServiceAccount : " ${{ secrets.FIREBASE_SERVICE_ACCOUNT_PANDEV }}"
75+ firebaseServiceAccount : " ${{ env.GCP_SA_KEY }}"
6676 projectId : pandev
6777 channelId : live
6878 target : docusaurus-openapi.tryingpan.dev
You can’t perform that action at this time.
0 commit comments