From 5579104cf879beb634b64227a00e2781c4d34f51 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Fri, 8 Jul 2022 19:29:55 +0200 Subject: [PATCH] fix yml --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43cbedb12..98ff32775 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,12 +37,12 @@ jobs: node-version: 16.x - run: npm i - run: | - if [[ "$GITHUB_REF" = *hotfix* ]] - then - export BS_REST_URL=https://siibra-api-rc.apps.hbp.eu/v2_0 - echo 'export const environment = { "BS_REST_URL": "https://siibra-api-rc.apps.hbp.eu/v2_0" }' > src/environments/environment.common.ts - fi - npm run test-ci + if [[ "$GITHUB_REF" = *hotfix* ]] + then + export BS_REST_URL=https://siibra-api-rc.apps.hbp.eu/v2_0 + echo 'export const environment = { "BS_REST_URL": "https://siibra-api-rc.apps.hbp.eu/v2_0" }' > src/environments/environment.common.ts + fi + npm run test-ci backend: if: always() -- GitLab