File tree Expand file tree Collapse file tree 3 files changed +61
-2
lines changed
Expand file tree Collapse file tree 3 files changed +61
-2
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 : Quality Checks
2+
3+ on : [push]
4+
5+ jobs :
6+ quality-check :
7+ name : Lint and Build
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - name : Checkout Code
12+ uses : actions/checkout@v3
13+
14+ - name : Setup Flutter
15+ uses : subosito/flutter-action@v2
16+ with :
17+ flutter-version : " 3.27.1"
18+ channel : " stable"
19+
20+ - name : Install Dependencies
21+ run : flutter pub get
22+
23+ - name : Run Linter
24+ run : flutter analyze
25+
26+ - name : Build Flutter Web
27+ run : flutter build web
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ migrate_working_dir/
3636/build /
3737
3838# Web related
39- lib /generated_plugin_registrant.dart
4039
4140# Symbolication related
4241app. * .symbols
@@ -57,4 +56,4 @@ firebase_credentials.json
5756
5857# Assets
5958/assets /default-icons
60- /assets /i18n
59+ /assets /i18n
You can’t perform that action at this time.
0 commit comments