File tree Expand file tree Collapse file tree 2 files changed +38
-8
lines changed Expand file tree Collapse file tree 2 files changed +38
-8
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - develop
7
+
8
+ jobs :
9
+ deploy :
10
+ name : Build and Deploy to GitHub Pages
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Checkout Code
15
+ uses : actions/checkout@v3
16
+
17
+ - name : Setup Flutter
18
+ uses : subosito/flutter-action@v2
19
+ with :
20
+ flutter-version : " 3.27.1"
21
+ channel : " stable"
22
+
23
+ - name : Install Dependencies
24
+ run : flutter pub get
25
+
26
+ - name : Build Flutter Web
27
+ run : flutter build web
28
+
29
+ - name : Deploy to GitHub Pages
30
+ uses : peaceiris/actions-gh-pages@v3
31
+ with :
32
+ github_token : ${{ secrets.GITHUB_TOKEN }}
33
+ publish_dir : build/web
Original file line number Diff line number Diff line change 1
- name : CI Checks
1
+ name : Quality Checks
2
2
3
- on :
4
- push :
5
- branches :
6
- - ' **'
3
+ on : [push]
7
4
8
5
jobs :
9
- lint-and-build :
10
- name : ci checks
6
+ quality-check :
7
+ name : Lint and Build
11
8
runs-on : ubuntu-latest
12
9
13
10
steps :
27
24
run : flutter analyze
28
25
29
26
- name : Build Flutter Web
30
- run : flutter build web
27
+ run : flutter build web
You can’t perform that action at this time.
0 commit comments