ci: Fix nightly builds for web
This commit is contained in:
parent
96ca7f41cd
commit
3f7df35a13
2 changed files with 3 additions and 2 deletions
3
.github/workflows/main_deploy.yaml
vendored
3
.github/workflows/main_deploy.yaml
vendored
|
|
@ -24,11 +24,12 @@ 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 "/web/"
|
||||
- run: mv build/web/ public
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }}
|
||||
publish_dir: ./build/web
|
||||
publish_dir: ./public
|
||||
publish_branch: gh-pages
|
||||
destination_dir: nightly
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue