Skip to content

Commit a5315c4

Browse files
committed
Pass environment variables when deploy to Firebase Hosting
1 parent b3b0955 commit a5315c4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ jobs:
2020

2121
- name: Install package dependencies
2222
run: npm install
23-
23+
env:
24+
REACT_APP_API1_URL: ${{ secrets.REACT_APP_API1_URL }}
25+
REACT_APP_API2_URL: ${{ secrets.REACT_APP_API2_URL }}
26+
REACT_APP_API3_URL: ${{ secrets.REACT_APP_API3_URL }}
27+
REACT_APP_API4_URL: ${{ secrets.REACT_APP_API4_URL }}
2428
- name: Build React app
2529
env:
2630
CI: false # Disable treating warnings as errors

0 commit comments

Comments
 (0)