From 84db3a4bae48465655c3e098c4ae68d5e2611308 Mon Sep 17 00:00:00 2001 From: Ore Ogundipe Date: Tue, 20 Aug 2024 06:44:55 -0700 Subject: [PATCH] fix: create .env.prod during build for app service run --- .github/workflows/staging_fusion-staging.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/staging_fusion-staging.yml b/.github/workflows/staging_fusion-staging.yml index 1b931b06..ef800c73 100644 --- a/.github/workflows/staging_fusion-staging.yml +++ b/.github/workflows/staging_fusion-staging.yml @@ -28,6 +28,9 @@ jobs: run: | cd frontend npm install + echo "NEXT_PUBLIC_FUSION_RELAY_URL=${{ secrets.NEXT_PUBLIC_FUSION_RELAY_URL }}" >> .env.production + echo "NEXT_PUBLIC_FUSION_NOSTR_PUBLIC_KEY=${{ secrets.NEXT_PUBLIC_FUSION_NOSTR_PUBLIC_KEY }}" >> .env.production + echo "NEXT_PUBLIC_NEUROFUSION_BACKEND_URL=${{ secrets.NEXT_PUBLIC_NEUROFUSION_BACKEND_URL }}" >> .env.production npm run build --if-present npm run test --if-present