workflow-with-secrets/decrypt_secrets.sh

7 lines
189 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" \
--output ./.env ./.env.gpg