portfolio/decrypt_secrets.sh
2024-08-22 17:05:57 +01:00

6 lines
187 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