-
-
Notifications
You must be signed in to change notification settings - Fork 10
43 lines (36 loc) · 935 Bytes
/
deploy_develop.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: deploy tst
on:
workflow_dispatch:
push:
paths:
- "lib/**"
- "assets/**"
- "pubspec.yaml"
- "pubspec.lock"
- "web/**"
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-latest
name: deploy
# if: ${{ false }} # disable for now
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: 3.16.2
channel: stable
cache: true
- name: Install Dependencies
run: flutter packages get
- name: Build for Web
run: flutter build web
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SLIDE_PUZZLE_1A294 }}'
projectId: slide-puzzle-1a294
expires: 30d
channelId: tst