1 parent a70bef0 commit ff68c8dCopy full SHA for ff68c8d
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,25 @@
1
+name: Deploy Firebase
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Baixar código
14
+ uses: actions/checkout@v3
15
16
+ - name: Configurar Node.js
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: 18
20
21
+ - name: Instalar Firebase CLI
22
+ run: npm install -g firebase-tools
23
24
+ - name: Fazer deploy
25
+ run: firebase deploy --only hosting --token "${{ secrets.FIREBASE_TOKEN }}"
0 commit comments