From b9c677322e89b0dce83470f883816792d2412e27 Mon Sep 17 00:00:00 2001 From: Kseniya Shychko Date: Wed, 6 Sep 2023 15:06:08 +0200 Subject: [PATCH] fix: environment env variable --- .github/workflows/deploy-to-s3.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-s3.yml b/.github/workflows/deploy-to-s3.yml index 1662cb75..fab7e84a 100644 --- a/.github/workflows/deploy-to-s3.yml +++ b/.github/workflows/deploy-to-s3.yml @@ -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: @@ -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: