From 3f7df35a1366fb0bebed6977a1671a60b341f753 Mon Sep 17 00:00:00 2001 From: Krille Date: Mon, 11 Dec 2023 13:59:13 +0100 Subject: [PATCH] ci: Fix nightly builds for web --- .github/workflows/main_deploy.yaml | 3 ++- .github/workflows/release.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index ab789ac8..3b128b1e 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a112c1f3..3a2c64a5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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