Skip to content

Commit 3612ef5

Browse files
committed
Fix GH Action env var
1 parent a896aaf commit 3612ef5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/github-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ jobs:
8888
run: npm install
8989

9090
- name: Create config.json
91-
run: echo "$TEST_CONFIG_JSON" > src/config.json
91+
run: echo "{ \"apiURL\": $API_URL, \"APP_ENV\": $APP_ENV }" > src/config.json
9292
env:
93-
TEST_CONFIG_JSON: { "apiURL": "http://localhost:1337", "APP_ENV": "prod" }
93+
API_URL: "http://localhost:1337"
94+
APP_ENV: "prod"
9495

9596
- name: Test Cypress
9697
uses: cypress-io/github-action@v2

0 commit comments

Comments
 (0)