Skip to content

Commit

Permalink
Use secret name instead of secret in matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
arnautov-anton committed Sep 22, 2023
1 parent 75ce978 commit 87664b8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/deploy-react-sample-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
populate-tokens: true
- name: egress-composite
project-id: prj_R6DLpP2Gxc0aRHGEopQWE8tveNDX
sentry-auth-token: ${{ secrets.EGRESS_SENTRY_AUTH_TOKEN }}
sentry-auth-token-secret-name: EGRESS_SENTRY_AUTH_TOKEN
- name: livestream-app-react
folder: livestream-app
project-id: prj_uNJTw7DefSAntAoWCXwJaHc1khoA
- name: audio-rooms
project-id: prj_0WnHcvVkXpM4PRc2ymVmrAHFILoT
- name: react-dogfood
project-id: prj_4TTdjeVHEDhWWiFRfjIr1QFb5ell
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }}
sentry-auth-token-secret-name: SENTRY_AUTH_TOKEN

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
Expand All @@ -59,19 +59,19 @@ jobs:
VITE_EGRESS_SENTRY_DNS: ${{ secrets.EGRESS_SENTRY_DNS }}
VITE_VIDEO_DEMO_SENTRY_DNS: ${{secrets.VIDEO_DEMO_SENTRY_DNS}}
VITE_TOKEN_PROVIDER_URL: ${{secrets.TOKEN_PROVIDER_URL}}
SENTRY_AUTH_TOKEN: ${{ matrix.application.sentry-auth-token }}
SENTRY_AUTH_TOKEN: ${{ secrets[matrix.application.sentry-auth-token-secret-name] }}

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

# - uses: dorny/[email protected]
# id: changes
# with:
# filters: |
# sample-apps:
# - 'sample-apps/react/${{ matrix.application.folder || matrix.application.name }}/**/*'
# - uses: dorny/[email protected]
# id: changes
# with:
# filters: |
# sample-apps:
# - 'sample-apps/react/${{ matrix.application.folder || matrix.application.name }}/**/*'

- name: Setup Node
uses: actions/setup-node@v3
Expand Down

0 comments on commit 87664b8

Please sign in to comment.