From f0091719a602a51fa94939f08aa98118eab7e9d1 Mon Sep 17 00:00:00 2001 From: Krille-chan <24619905+krille-chan@users.noreply.github.com> Date: Sun, 30 Jul 2023 13:05:39 +0200 Subject: [PATCH] ci: Set base href in ci job --- .github/workflows/main_deploy.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index 6b1f7b4ca..c9e65030b 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -22,8 +22,9 @@ jobs: run: sudo apt-get update && sudo apt-get install nodejs -y - run: flutter pub get - name: Prepare web - run: ./scripts/prepare-web.sh - - name: Build Release Web + run: | + ./scripts/prepare-web.sh + sed -i 's/href="\/"/href="\/web\/"/' web/index.html - name: Build Release Web run: flutter build web --release --verbose --source-maps - name: Build Website run: |