Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sgbro opened this issue Mar 13, 2024 · 1 comment

Comments

@sgbro
Copy link

sgbro commented Mar 13, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants