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 82efb8d commit 29fe410Copy full SHA for 29fe410
.github/workflows/main.yml
@@ -0,0 +1,23 @@
1
+name: CI
2
+on: [push]
3
+jobs:
4
+ FrontDeploy:
5
+ name: FrontDeploy
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Checkout Repo
9
+ uses: actions/checkout@main
10
+ - name: setup Node
11
+ uses: actions/setup-node@v1
12
+ with:
13
+ node-version: '18'
14
+ registry-url: 'https://registry.npmjs.org'
15
+ - name: Install Firebase CLI
16
+ run: npm install -g firebase-tools
17
+ - name: Install Dependencies
18
+ run: yarn
19
+ - name: Build
20
+ run: yarn build
21
+ - name: deploy to Firebase Hosting
22
+ shell: bash
23
+ run: yarn channel-deploy $(echo ${GITHUB_REF#refs/heads/}) --token=${{ secrets.FIREBASE_TOKEN }}
0 commit comments