diff --git a/decrypt_secret.sh b/decrypt_secret.sh index dbd6374..a1cf4e9 100644 --- a/decrypt_secret.sh +++ b/decrypt_secret.sh @@ -1,9 +1,12 @@ #!/bin/sh # Decrypt the file -mkdir $HOME/secrets +# mkdir $HOME/secrets # --batch to prevent interactive command # --yes to assume "yes" for questions gpg --quiet --batch --yes --decrypt --passphrase="$FIREBASE_ADMIN_PASSPHRASE" \ +--output edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json.gpg # --output $HOME/secrets/edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json.gpg ---output edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json.gpg \ No newline at end of file + +# Optionally, you can output the decrypted file path for verification +echo "Decrypted file: edusync-7bd5e-firebase-adminsdk-x49uh-af084a6314.json" \ No newline at end of file