FirebaseExtended / action-hosting-deploy

Automatically deploy shareable previews for your Firebase Hosting sites
https://firebase.google.com/docs/hosting/github-integration
Apache License 2.0
695 stars 202 forks source link

QUESTION: DO we have a way to pass env variables from Github Secrets inside this Actions via env attribute? #348

Open sgbro opened 6 months ago

sgbro commented 6 months ago

Example code -

   - name: Deploy to Firebase
     uses: FirebaseExtended/action-hosting-deploy@v0
     env:
       REACT_APP_FIREBASE_API_KEY: ${{ steps.secrets.outputs.REACT_APP_FIREBASE_API_KEY }}
       REACT_APP_FIREBASE_AUTH_DOMAIN: ${{ steps.secrets.outputs.REACT_APP_FIREBASE_AUTH_DOMAIN }}
     with:
       repoToken: ${{ secrets.GITHUB_TOKEN }}
       firebaseServiceAccount: ${{ secrets.SERVICE_ACCOUNT_KEY  }}
       channelId: live
       projectId: sample-project
ChrisDeardeuff commented 1 month ago

Encountering this same problem right now. Would be very useful.