From 4de30739a513802f8668ea737e7e26e881e2604d Mon Sep 17 00:00:00 2001 From: Richie McIlroy <33632126+richiemcilroy@users.noreply.github.com> Date: Tue, 9 Jul 2024 18:44:36 +0100 Subject: [PATCH] version: 0.2.7 - stability/performance improvements --- .github/workflows/main.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 884182c9..6659a1b1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,12 +44,15 @@ jobs: id: get_version run: echo "appVersion=$(jq -r '.version' apps/desktop/package.json)" >> $GITHUB_OUTPUT - - name: Create .env file + - name: Create .env file in root run: | - echo "NEXT_PUBLIC_URL=${{ secrets.NEXT_PUBLIC_URL }}" > apps/desktop/.env - echo "appVersion=${{ steps.get_version.outputs.appVersion }}" >> apps/desktop/.env - echo "NEXT_PUBLIC_ENVIRONMENT=production" >> apps/desktop/.env - echo "NEXT_PUBLIC_LOCAL_MODE=false" >> apps/desktop/.env + echo "NEXT_PUBLIC_URL=${{ secrets.NEXT_PUBLIC_URL }}" > .env + echo "appVersion=${{ steps.get_version.outputs.appVersion }}" >> .env + echo "NEXT_PUBLIC_ENVIRONMENT=production" >> .env + echo "NEXT_PUBLIC_LOCAL_MODE=false" >> .env + + - name: Copy .env to apps/desktop + run: cp .env apps/desktop/.env - name: Output .env file run: cat apps/desktop/.env