Skip to content
Snippets Groups Projects
Commit 5b6daae1 authored by Igor Witz's avatar Igor Witz
Browse files

Update decrypt-secrets.sh

parent 6afd2170
No related branches found
No related tags found
1 merge request!35Gestion des secrets
#!/bin/sh
# import the PGP key for the right environment
if [ $PICA_ENVIRONMENT -eq "TEST" ];
if [ "$PICA_ENVIRONMENT" = "TEST" ];
then
echo "$PRIVATE_GPG_KEY_TEST" > /tmp/pgp-key
elif [ $PICA_ENVIRONMENT -eq "PRODUCTION" ];
elif [ "$PICA_ENVIRONMENT" = "PRODUCTION" ];
then
echo "$PRIVATE_GPG_KEY_PRODUCTION" > /tmp/pgp-key
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment