From e3fa0bcf4f99ee3912666d28b4831d21fdf58d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Birm=C3=A9?= Date: Thu, 13 Jun 2024 08:20:14 +0200 Subject: [PATCH] chore: set build variables from secrets --- .github/workflows/run-cd.yml | 3 +++ .github/workflows/run-release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/run-cd.yml b/.github/workflows/run-cd.yml index 8fba2565..69b145aa 100644 --- a/.github/workflows/run-cd.yml +++ b/.github/workflows/run-cd.yml @@ -22,6 +22,9 @@ jobs: run: | yarn yarn build --mode staging + env: + VITE_BACKEND_URL: ${{ secrets.MANAGER_DEV_URL }} + VITE_BACKEND_API_VERSION: api/v1 - name: Sync to Dev bucket uses: jakejarvis/s3-sync-action@v0.5.1 diff --git a/.github/workflows/run-release.yml b/.github/workflows/run-release.yml index d041cb81..fd5db436 100644 --- a/.github/workflows/run-release.yml +++ b/.github/workflows/run-release.yml @@ -19,6 +19,9 @@ jobs: run: | yarn yarn build --mode production + env: + VITE_BACKEND_URL: ${{ secrets.MANAGER_PROD_URL }} + VITE_BACKEND_API_VERSION: api/v1 - name: Sync to Demo bucket uses: jakejarvis/s3-sync-action@v0.5.1