From bec65a749b8a0d7442a8943ae749497a366408a8 Mon Sep 17 00:00:00 2001 From: Aleksandr Date: Thu, 18 May 2023 21:21:17 +0400 Subject: [PATCH] Update server-app env file creating in CI --- .github/workflows/ts-checks-build-and-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ts-checks-build-and-tests.yml b/.github/workflows/ts-checks-build-and-tests.yml index 3a735d3..802b1a0 100644 --- a/.github/workflows/ts-checks-build-and-tests.yml +++ b/.github/workflows/ts-checks-build-and-tests.yml @@ -21,8 +21,8 @@ jobs: run: git clone https://github.com/aleksandr-kiliushin/personal-app-server.git ./server-app - name: Installing server app packages run: npm --prefix ./server-app install - - name: Creating SERVER_DEV_ENV_FILE for backend and DB - run: echo "${{ secrets.SERVER_DEV_ENV_FILE }}" > ./server-app/dev.env + - name: Creating dev.env file for backend and DB + run: cp ./server-app/dev.env.example > ./server-app/dev.env - name: Starting server app for tests run: npm --prefix ./server-app run dev:db-and-api -- --detach - name: Installing pm2