mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 05:45:10 +00:00
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
|
||||
|
||||
|
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -49,13 +49,13 @@ jobs:
|
|||
mv repo public || true
|
||||
mv build/web/ public/web
|
||||
cp public/web -r public/nightly
|
||||
echo "fluffychat.im" > ./public/CNAME
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }}
|
||||
publish_dir: ./public
|
||||
publish_branch: gh-pages
|
||||
cname: fluffychat.im
|
||||
|
||||
build_apk:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue