skaffolding package based monorepo nx example #403
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Workflows with large secrets | |
on: push | |
jobs: | |
large-secret-job: | |
name: My Job | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Decrypt large secret | |
run: | | |
chmod +x ./.github/scripts/decrypt_secret.sh | |
./.github/scripts/decrypt_secret.sh | |
env: | |
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }} | |
# This command is just an example to show your secret being printed | |
# Ensure you remove any print statements of your secrets. GitHub does | |
# not hide secrets that use this workaround. | |
- name: Test printing your secret (Remove this step in production) | |
run: cat $HOME/secrets/my_secret.json |