From c499fa4da9524631089d56716d180ba496c18ecd Mon Sep 17 00:00:00 2001 From: longwind48 Date: Mon, 16 Dec 2024 01:55:26 +0800 Subject: [PATCH] ci: use env instead of vars --- .github/workflows/firebase-hosting-staging.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/firebase-hosting-staging.yml b/.github/workflows/firebase-hosting-staging.yml index 55f08e0..707dad2 100644 --- a/.github/workflows/firebase-hosting-staging.yml +++ b/.github/workflows/firebase-hosting-staging.yml @@ -35,7 +35,7 @@ jobs: - name: Install dependencies and build env: APP_ENV: staging - NEXT_PUBLIC_API_BASE_URL: ${{ vars.NEXT_PUBLIC_API_BASE_URL }} + NEXT_PUBLIC_API_BASE_URL: ${{ env.NEXT_PUBLIC_API_BASE_URL }} run: | cd frontend npm ci @@ -53,4 +53,4 @@ jobs: entryPoint: ./frontend env: FIREBASE_CLI_EXPERIMENTS: webframeworks - NEXT_PUBLIC_API_BASE_URL: ${{ vars.NEXT_PUBLIC_API_BASE_URL }} + NEXT_PUBLIC_API_BASE_URL: ${{ env.NEXT_PUBLIC_API_BASE_URL }}