diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 43cbedb123aed70e47a75e746b2181ff0261c3a1..98ff32775c62db929d9bcd1087e89d60eaee393c 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()