mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-10 19:13:44 +00:00
ci: Fix web release job
This commit is contained in:
parent
dad8576a23
commit
ff245e3eba
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yaml
vendored
3
.github/workflows/release.yaml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
|||
- name: Prepare web
|
||||
run: ./scripts/prepare-web.sh
|
||||
- name: Build Release Web
|
||||
run: flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps
|
||||
run: flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps --base-href "/web/"
|
||||
- name: Create archive
|
||||
run: tar -czf fluffychat-web.tar.gz build/web/
|
||||
- name: Upload Web Build
|
||||
|
@ -50,6 +50,7 @@ jobs:
|
|||
mv build/web/ public/web
|
||||
cp public/web -r public/nightly
|
||||
- name: Deploy to GitHub Pages
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue