portfolio/decrypt_secrets.sh
r-freeman 4263e32564
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 2m20s
Dockerisation
2024-08-23 17:53:35 +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