diff --git a/.gitea/workflows/decrypt_secrets.yml b/.gitea/workflows/decrypt_secrets.yml index 5a83322..19b7246 100644 --- a/.gitea/workflows/decrypt_secrets.yml +++ b/.gitea/workflows/decrypt_secrets.yml @@ -11,11 +11,13 @@ jobs: run: ./decrypt_secrets.sh env: SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }} - # This command is just an example to show your secret being printed - # Ensure you remove any print statements of your secrets. GitHub does - # not hide secrets that use this workaround. - - 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 + + PrintSecrets: + needs: DecryptSecrets + runs-on: ubuntu-latest + steps: + - name: Test printing your secret (Remove this step in production) + run: cat ${{ gitea.workspace }}/secrets + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 8c300ca..670e80a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env .idea/ -secrets \ No newline at end of file +secrets +passphrase \ No newline at end of file