workflow-with-secrets/decrypt_secrets.sh
Ryan Freeman f6ca46ff64
All checks were successful
Decrypt Secrets / DecryptSecrets (push) Successful in 3s
update workflow
2024-08-20 22:23:34 +01:00

6 lines
187 B
Bash
Executable File

#!/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