File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed
Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -16,17 +16,15 @@ jobs:
1616 with :
1717 channel : stable
1818
19- - name : Install dependencies
20- run : flutter pub get
19+ - name : Build the Flutter web application
20+ shell : bash
21+ run : |
22+ flutter pub get
23+ flutter build web --release --base-href "https://greylabsdev.github.io/ThreeactionsArea/"
2124
22- - name : Build web
23- run : flutter build web --release --base-href /ThreeactionsArea/
24- env :
25- FLUTTER_BUILD_WEB : true
26-
27- - name : Deploy to GitHub Pages
28- uses : peaceiris/actions-gh-pages@v3
29- with :
30- github_token : ${{ secrets.GITHUB_TOKEN }}
31- publish_dir : ./build/web
32- keep_files : true
25+ - name : Deploy to GitHub pages
26+ shell : bash
27+ run : |
28+ git add build/web/ -f
29+ git commit -m "Deploy Flutter Web Application"
30+ git push origin $(git subtree split --prefix=build/web/):main -f
You can’t perform that action at this time.
0 commit comments