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, };