workflow-with-secrets/.gitea/workflows/decrypt_secrets.yml

18 lines
609 B
YAML
Raw Normal View History

2024-08-20 20:45:11 +00:00
name: Decrypt Secrets
run-name: Workflow for decrypting secrets
on: [ push ]
jobs:
DecryptSecrets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Decrypt secrets
run: ./decrypt_secret.sh
env:
SECRET_PASSPHRASE: ${{ secrets.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 ./.env