update workflow
Some checks failed
Decrypt Secrets / DecryptSecrets (push) Successful in 3s
Decrypt Secrets / PrintSecrets (push) Failing after 1s

This commit is contained in:
Ryan Freeman 2024-08-20 22:13:15 +01:00
parent a2c77e4eac
commit 446364561e
2 changed files with 12 additions and 9 deletions

View File

@ -11,11 +11,13 @@ jobs:
run: ./decrypt_secrets.sh run: ./decrypt_secrets.sh
env: env:
SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }} 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 PrintSecrets:
# not hide secrets that use this workaround. needs: DecryptSecrets
runs-on: ubuntu-latest
steps:
- name: Test printing your secret (Remove this step in production) - name: Test printing your secret (Remove this step in production)
run: cat ./secrets run: cat ${{ gitea.workspace }}/secrets
- name: List files in the repository - name: List files in the repository
run: | run: |
ls ${{ gitea.workspace }} ls ${{ gitea.workspace }}

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.env .env
.idea/ .idea/
secrets secrets
passphrase