mirror of
https://github.com/r-freeman/workflow-with-secrets.git
synced 2025-01-18 11:15:41 +00:00
update workflow
This commit is contained in:
parent
a2c77e4eac
commit
446364561e
@ -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 }}
|
||||
|
||||
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 }}
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.env
|
||||
.idea/
|
||||
secrets
|
||||
passphrase
|
Loading…
Reference in New Issue
Block a user