ci: Fix nightly builds for web

This commit is contained in:
Krille 2023-12-11 13:59:13 +01:00
commit 3f7df35a13
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -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