Skip to content

Instantly share code, notes, and snippets.

@TomGranot
Last active March 5, 2019 19:26
Show Gist options
  • Save TomGranot/3e089bb507199fafe9bdcbfbb7fd179a to your computer and use it in GitHub Desktop.
Save TomGranot/3e089bb507199fafe9bdcbfbb7fd179a to your computer and use it in GitHub Desktop.
Config.yml part 4
- run:
name: Get JSON & GPG Keys From Env-Var
command: |
echo ${PLAYSTORE_SERVICE_KEY} > app/GPLAY_KEY.json
echo -e $GPG_KEY > gpg_key.asc
- run:
name: Import gpg key into gpg, decrypt secrets
command: |
gpg --import gpg_key.asc
gpg --decrypt secrets.tar.gpg > secrets.tar
tar -vxf secrets.tar
rm secrets.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment