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

serviceCredentialsFile from secrets #72

Closed
jemshit opened this issue Jun 8, 2022 · 2 comments · Fixed by #86
Closed

serviceCredentialsFile from secrets #72

jemshit opened this issue Jun 8, 2022 · 2 comments · Fixed by #86
Labels
help wanted Extra attention is needed

Comments

@jemshit
Copy link

jemshit commented Jun 8, 2022

Hi,
could you guys provide a way to use serviceAccount from secrets instead of file? As an example this action offers it

@jemshit
Copy link
Author

jemshit commented Jun 9, 2022

For now this can be used:

- name: Decode AppDistribution ServiceAccount to JSON file
    id: decode-appdistribution-serviceaccount
    uses: timheuer/base64-to-file@master
    with:
      fileName: 'service-account.json'
      fileDir: './app_distribution/'
      encodedString: ${{ secrets.SERVICE_ACC_FIREBASE }}

then

serviceCredentialsFile: ${{ steps.decode-appdistribution-serviceaccount.outputs.filePath }}

@wzieba
Copy link
Owner

wzieba commented Jun 15, 2022

Nice idea, thanks! I'm adding this to the backlog but if anyone is willing to work on that, please feel free to provide a PR.

@wzieba wzieba added the help wanted Extra attention is needed label Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants