workflow-with-secrets/decrypt_secrets.sh

7 lines
195 B
Bash
Raw Normal View History

2024-08-20 20:45:11 +00:00
#!/bin/sh
# --batch to prevent interactive command
# --yes to assume "yes" for questions
gpg --quiet --batch --yes --decrypt --passphrase="$SECRET_PASSPHRASE" \
2024-08-20 21:06:35 +00:00
--output ./secrets ./secrets.gpg