Skip to content

Commit

Permalink
using right secret name (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshjohanning authored Oct 9, 2023
1 parent ca20a61 commit 5568b9e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/azure-oidc-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
keyvault:
description: name of the keyvault
type: string
default: josh-key-vault-test
default: josh-key-vault-test

# # set this in caller workflow:
# permissions:
Expand Down Expand Up @@ -49,6 +49,5 @@ jobs:
- name: testing secrets
run: |
echo "echoing as secret: ${{ secrets.othersecret }}" # doesn't work
echo "echoing as env: ${{ env.othersecret }}" # works
echo "echoing as secret: ${{ secrets.my-secret }}" # doesn't work
echo "echoing as env: ${{ env.my-secret }}" # works

0 comments on commit 5568b9e

Please sign in to comment.