File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - uses : actions/checkout@v3
13+ - uses : subosito/flutter-action@v2
14+ with :
15+ flutter-version : ' 3.19.0'
16+ channel : ' stable'
17+
18+ - name : Install dependencies
19+ run : flutter pub get
20+
21+ - name : Build
22+ run : flutter build web --release
23+
24+ - name : Deploy
25+ uses : peaceiris/actions-gh-pages@v3
26+ with :
27+ github_token : ${{ secrets.GITHUB_TOKEN }}
28+ publish_dir : ./build/web
Original file line number Diff line number Diff line change @@ -18,10 +18,18 @@ migrate_working_dir/
1818* .iws
1919.idea /
2020
21- # The .vscode folder contains launch configuration and tasks you configure in
22- # VS Code which you may wish to be included in version control, so this line
23- # is commented out by default.
24- # .vscode/
21+ # VS Code related
22+ .vscode /
23+ * .code-workspace
24+
25+ # Node.js related
26+ node_modules /
27+ npm-debug.log *
28+ yarn-debug.log *
29+ yarn-error.log *
30+ package-lock.json
31+ yarn.lock
32+ .pnpm-lock.yaml
2533
2634# Flutter/Dart/Pub related
2735** /doc /api /
@@ -32,6 +40,14 @@ migrate_working_dir/
3240.pub-cache /
3341.pub /
3442/build /
43+ * .g.dart
44+ * .freezed.dart
45+
46+ # Web related
47+ lib /generated_plugin_registrant.dart
48+ web /favicon.png
49+ web /icons /
50+ web /manifest.json
3551
3652# Symbolication related
3753app. * .symbols
@@ -44,5 +60,38 @@ app.*.map.json
4460/android /app /profile
4561/android /app /release
4662
63+ # Environment files
4764.env
48- devtools_options.yaml
65+ .env. *
66+ ! .env.example
67+
68+ # Deployment related
69+ .vercel
70+ .github /workflows /* .yml
71+ ! .github /workflows /deploy.yml
72+
73+ # Generated files
74+ * .g.dart
75+ * .freezed.dart
76+ * .mocks.dart
77+ * .config.dart
78+
79+ # Coverage
80+ coverage /
81+ * .lcov
82+
83+ # Temporary files
84+ * .tmp
85+ * .temp
86+ * .bak
87+ * .swp
88+ * ~
89+
90+ # OS generated files
91+ .DS_Store
92+ .DS_Store ?
93+ ._ *
94+ .Spotlight-V100
95+ .Trashes
96+ ehthumbs.db
97+ Thumbs.db
Original file line number Diff line number Diff line change 1+ description : This file stores settings for Dart & Flutter DevTools.
2+ documentation : https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states
3+ extensions :
Original file line number Diff line number Diff line change 1+ {
2+ "dependencies" : {
3+ "vercel" : " ^41.7.8"
4+ }
5+ }
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html >
33< head >
4- < base href ="$FLUTTER_BASE_HREF ">
4+ < base href ="/akbaymed/ ">
55
66 < meta charset ="UTF-8 ">
77 < meta content ="IE=Edge " http-equiv ="X-UA-Compatible ">
4242 } ) ;
4343 } ) ;
4444 </ script >
45+ < noscript >
46+ You need to enable JavaScript to run this app.
47+ </ noscript >
4548</ body >
4649</ html >
You can’t perform that action at this time.
0 commit comments