workflow-with-secrets/decrypt_secrets.sh
2024-08-20 21:45:11 +01:00

7 lines
189 B
Bash

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