Skip to content

Instantly share code, notes, and snippets.

@victorbruce
Created October 19, 2021 04:28
Show Gist options
  • Save victorbruce/e91185592698b3783db9dec7eea75274 to your computer and use it in GitHub Desktop.
Save victorbruce/e91185592698b3783db9dec7eea75274 to your computer and use it in GitHub Desktop.
decrypting a secret in Github action workflow
- name: Decrypting
run: sh ./.github/scripts/decrypt.sh
env:
KEYS_KEYSTORE_PASSPHRASE: ${{secrets.KEYS_KEYSTORE_PASSPHRASE}}
- name: Make fastlane/keys.properties executable
run: |
chmod +x fastlane/keys.properties
- name: Dump fastlane/keys.properties into .env file
run: |
cat fastlane/keys.properties > fastlane/.env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment