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