From bc007830598f8464b1f8500169da3b1f52fa1abb Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:59:26 +0100 Subject: [PATCH] Use env vars for different stages --- .env.local => .env.development | 0 .env => .env.production | 0 .github/workflows/build-ui.yml | 1 + 3 files changed, 1 insertion(+) rename .env.local => .env.development (100%) rename .env => .env.production (100%) diff --git a/.env.local b/.env.development similarity index 100% rename from .env.local rename to .env.development diff --git a/.env b/.env.production similarity index 100% rename from .env rename to .env.production diff --git a/.github/workflows/build-ui.yml b/.github/workflows/build-ui.yml index 85bf4fa..b6a0df1 100644 --- a/.github/workflows/build-ui.yml +++ b/.github/workflows/build-ui.yml @@ -59,6 +59,7 @@ jobs: run: pnpm run build env: NODE_ENV: production + NEXT_PUBLIC_API_URL: https://static.etherpad.org - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: