Skip to content

Commit

Permalink
Fix Vault authentication in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hwittenborn committed Jun 7, 2023
1 parent 2072b44 commit 74fc043
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:
uses: hashicorp/vault-action@v2
with:
url: https://vault.hunterwittenborn.com
method: jwt
role: github
token: ${{ secrets.VAULT_TOKEN }}
secrets: |
kv/data/ci github_api_key | GH_TOKEN
- name: Setup makedeb APT repositories
Expand All @@ -46,8 +45,7 @@ jobs:
uses: hashicorp/vault-action@v2
with:
url: https://vault.hunterwittenborn.com
method: jwt
role: github
token: ${{ secrets.VAULT_TOKEN }}
secrets: |
kv/data/ci ssh_key | SSH_KEY
- name: Setup makedeb APT repositories
Expand Down Expand Up @@ -102,8 +100,7 @@ jobs:
uses: hashicorp/vault-action@v2
with:
url: https://vault.hunterwittenborn.com
method: jwt
role: github
token: ${{ secrets.VAULT_TOKEN }}
secrets: |
kv/data/ci snapcraft_store_credentials | SNAPCRAFT_STORE_CREDENTIALS
- name: Build Celeste Snap
Expand All @@ -125,8 +122,7 @@ jobs:
uses: hashicorp/vault-action@v2
with:
url: https://vault.hunterwittenborn.com
method: jwt
role: github
token: ${{ secrets.VAULT_TOKEN }}
secrets: |
kv/data/ci github_api_key | GH_TOKEN
- name: Checkout Flathub Celeste Git repository
Expand Down

0 comments on commit 74fc043

Please sign in to comment.