Skip to content

Commit

Permalink
decrypt secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeah committed Sep 23, 2024
1 parent beeabdc commit 1cee1f4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/dbdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@ on:
- db/migrations/bcda
- db/migrations/bcda_queue

env:
VAULT_PW: ${{ secrets.VAULT_PW }}

jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Decrypt secrets
run: |
echo $VAULT_PW > .vault_password
bash ops/secrets --decrypt
mv -fv shared_files/encrypted/* shared_files/decrypted/
- name: Start DB
run: make start-db
Expand Down

0 comments on commit 1cee1f4

Please sign in to comment.