workflow-with-secrets/decrypt_secrets.sh

6 lines
187 B
Bash
Raw Permalink Normal View History

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