We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d129ef commit 23657cfCopy full SHA for 23657cf
.github/workflows/react-ui-deployment.yml
@@ -0,0 +1,28 @@
1
+name: React UI Deployment - Firebase Hosting
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ paths:
8
+ - 'src/**'
9
10
+jobs:
11
+ firebase-deploy:
12
+ runs-on: ubuntu-latest
13
+ env:
14
+ REACT_APP_API_URI: ${{ secrets.REACT_APP_API_URI }}
15
+ REACT_APP_SENTRY_DSN: ${{ secrets.REACT_APP_SENTRY_DSN }}
16
17
+ steps:
18
+ - uses: actions/checkout@master
19
+ - uses: actions/setup-node@master
20
+ with:
21
+ node-version: '16.x'
22
+ - run: npm install
23
+ - run: npm run build
24
+ - uses: w9jds/firebase-action@master
25
26
+ args: deploy --only hosting
27
28
+ FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
0 commit comments