We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ae1395 commit 7df2d5aCopy full SHA for 7df2d5a
.github/workflows
@@ -0,0 +1,26 @@
1
+name: Deploy to Firebase Hosting
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # deploy when pushed to this branch
7
8
+jobs:
9
+ build-and-deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout Repository
13
+ uses: actions/checkout@v2
14
15
+ - name: Install Dependencies
16
+ run: npm install
17
18
+ - name: Build
19
+ run: npm run build
20
21
+ - name: Deploy to Firebase
22
+ uses: w9jds/firebase-action@master
23
+ with:
24
+ args: deploy --only hosting
25
+ env:
26
+ FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
0 commit comments