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 cc1cb59 commit 57dbe89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-to-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ env:
jobs:
install_and_build:
runs-on: ubuntu-latest
environment:
name: ${{ env.environment }}
url: ${{ env.environment == 'UN' && https://test.uncefact.org/vckit/explorer/ || 'https://explorer.vckit.showthething.com/' }}

env:
CI: false
Expand Down Expand Up @@ -64,7 +67,9 @@ jobs:
deploy_to_s3:
needs: install_and_build
runs-on: ubuntu-latest

environment:
name: ${{ env.environment }}
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 57dbe89

Please sign in to comment.