build: Update linux build and copy web pkg
This commit is contained in:
parent
40a7dde059
commit
a37b0946f2
3 changed files with 5 additions and 3 deletions
2
.github/workflows/main_deploy.yaml
vendored
2
.github/workflows/main_deploy.yaml
vendored
|
|
@ -26,6 +26,8 @@ jobs:
|
|||
run: ./scripts/prepare-web.sh
|
||||
- name: Build Release Web
|
||||
run: flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps --base-href "/nightly/"
|
||||
- name: Copy pkg directory for WASM
|
||||
run: mv web/pkg build/web/
|
||||
- run: mv build/web/ public
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue