Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
fix: use env to check
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Apr 7, 2021
1 parent 82a2ba5 commit d5ad4a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
LOCATION: northeurope
APP_NAME: nrfassettrackerprod
B2C_TENANT: nrfassettrackerprod
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}

if: ${{ secrets.E2E_AZURE_CREDENTIALS != '' }}
if: env.AZURE_CREDENTIALS != ''

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
APP_REG_CLIENT_ID: ${{ secrets.E2E_APP_REG_CLIENT_ID }}
B2C_CLIENT_SECRET: ${{ secrets.E2E_B2C_CLIENT_SECRET }}
B2C_TENANT_ID: ${{ secrets.E2E_B2C_TENANT_ID }}
E2E_AZURE_CREDENTIALS: ${{ secrets.E2E_AZURE_CREDENTIALS }}

if: ${{ secrets.E2E_AZURE_CREDENTIALS != '' }}
if: env.E2E_AZURE_CREDENTIALS != ''

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit d5ad4a5

Please sign in to comment.