Skip to content

Commit

Permalink
fix: environment env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kshychko committed Sep 6, 2023
1 parent b0ad8f9 commit b9c6773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-to-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
install_and_build:
runs-on: ubuntu-latest
environment:
name: ${{ env.environment }}
name: ${{ env.environment == 'UN' && 'UN' || 'dev' }}
url: ${{ env.environment == 'UN' && 'https://test.uncefact.org/vckit/explorer/' || 'https://explorer.vckit.showthething.com/' }}

env:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
environment:
name: ${{ env.environment }}
url: ${{ env.environment == 'UN' && https://test.uncefact.org/vckit/explorer/ || 'https://explorer.vckit.showthething.com/' }}
url: ${{ env.environment == 'UN' && 'https://test.uncefact.org/vckit/explorer/' || 'https://explorer.vckit.showthething.com/' }}
permissions:
id-token: write
steps:
Expand Down

0 comments on commit b9c6773

Please sign in to comment.