From fb3804f6a5e33d19ce6afa8dad8b11a00227cbff Mon Sep 17 00:00:00 2001 From: Dale Seo Date: Tue, 2 Sep 2025 22:00:24 -0400 Subject: [PATCH] Configure environment variables for deploy workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add github-pages environment to build job - Use repository variables for VITE_API_URL instead of hardcoded value 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0df7f21..654840e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,8 +13,9 @@ permissions: jobs: build-and-deploy: runs-on: ubuntu-latest + environment: github-pages env: - VITE_API_URL: https://dalestudy-chat-backend.fly.dev + VITE_API_URL: ${{ vars.VITE_API_URL }} defaults: run: working-directory: ./frontend