From 3012fba284be80abbb1c25cfd30efc29fb357432 Mon Sep 17 00:00:00 2001 From: "Sams, Roland" Date: Wed, 27 Mar 2024 11:22:26 +0100 Subject: [PATCH] test --- .github/workflows/build-deploy-mkj-test.yml | 5 +++++ src/environments/environment.publictest.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy-mkj-test.yml b/.github/workflows/build-deploy-mkj-test.yml index be826f6..b58b4e6 100644 --- a/.github/workflows/build-deploy-mkj-test.yml +++ b/.github/workflows/build-deploy-mkj-test.yml @@ -21,6 +21,11 @@ jobs: - name: Install dependencies run: npm ci + - name: Create env file + run: | + touch .env + echo API_URL=${{secrets.FTP_SERVER}} >> .env + - name: 🔨 Build run: npm run build-test diff --git a/src/environments/environment.publictest.ts b/src/environments/environment.publictest.ts index d672395..86deb3d 100644 --- a/src/environments/environment.publictest.ts +++ b/src/environments/environment.publictest.ts @@ -5,7 +5,7 @@ const config = CONFIG_MAP.publictest; export const environment = { production: config.production, apiUrl: config.apiUrl, - appTitle: config.appTitle, + appTitle: process.env.API_URL, publictest: config.publictest, wsHost: config.wsHost, };