diff --git a/.env.gpg b/.env.gpg new file mode 100644 index 0000000..209ed19 Binary files /dev/null and b/.env.gpg differ diff --git a/.gitea/workflows/decrypt_secrets.yml b/.gitea/workflows/decrypt_secrets.yml index 07441eb..28a74a8 100644 --- a/.gitea/workflows/decrypt_secrets.yml +++ b/.gitea/workflows/decrypt_secrets.yml @@ -11,8 +11,6 @@ jobs: run: ./decrypt_secrets.sh env: SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }} - - name: Test printing your secret (Remove this step in production) - run: cat ./secrets - name: List files in the repository run: | - ls ${{ gitea.workspace }} \ No newline at end of file + ls -la ${{ gitea.workspace }} \ No newline at end of file diff --git a/decrypt_secrets.sh b/decrypt_secrets.sh index 59ec9a8..26e7fe4 100755 --- a/decrypt_secrets.sh +++ b/decrypt_secrets.sh @@ -2,5 +2,4 @@ # --batch to prevent interactive command # --yes to assume "yes" for questions -gpg --quiet --batch --yes --decrypt --passphrase="$SECRET_PASSPHRASE" \ ---output ./secrets ./secrets.gpg +gpg --quiet --batch --yes --decrypt --passphrase="$SECRET_PASSPHRASE" --output ./.env ./.env.gpg diff --git a/secrets.gpg b/secrets.gpg deleted file mode 100644 index 8c886dc..0000000 --- a/secrets.gpg +++ /dev/null @@ -1,2 +0,0 @@ -  Q㱿jYc0J `ϖd9iCa߹_jlQ -.Lܯ N`cNA KQ֠`*( UE"f \ No newline at end of file