Skip to content

Commit

Permalink
fix: create .env.prod during build for app service run
Browse files Browse the repository at this point in the history
  • Loading branch information
oreHGA committed Aug 20, 2024
1 parent 3363cd4 commit 84db3a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/staging_fusion-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84db3a4

Please sign in to comment.