Added more triggers, testing canvaskit
This commit is contained in:
committed by
GitHub
parent
aa68bd70eb
commit
4ede78ae85
6
.github/workflows/gh-pages.yml
vendored
6
.github/workflows/gh-pages.yml
vendored
@@ -8,6 +8,8 @@ on:
|
||||
- "lib/**"
|
||||
- "web/**"
|
||||
- "pubspec.yaml"
|
||||
- ".github/workflows/**"
|
||||
- "scripts/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
@@ -15,6 +17,8 @@ on:
|
||||
- "lib/**"
|
||||
- "web/**"
|
||||
- "pubspec.yaml"
|
||||
- ".github/workflows/**"
|
||||
- "scripts/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -62,7 +66,7 @@ jobs:
|
||||
# run: flutter test
|
||||
|
||||
- name: Build release project
|
||||
run: flutter build web --base-href "/IIITB_Menu/"
|
||||
run: flutter build web --base-href "/IIITB_Menu/" --web-renderer canvaskit
|
||||
|
||||
- name: Upload production-ready build files
|
||||
uses: actions/upload-artifact@v3.1.2
|
||||
|
||||
Reference in New Issue
Block a user