Skip to content

Commit 767a37e

Browse files
authored
Update build_web.yml
1 parent e2d90e0 commit 767a37e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build_web.yml

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
- name: Build Flutter web app
3030
run: flutter build web --release --wasm
3131

32+
- name: Update base href in index.html
33+
run: sed -i 's|<base href="/">|<base href="/web/">|g' build/web/index.html
34+
3235
- name: Upload to SFTP
3336
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
3437
with:

0 commit comments

Comments
 (0)