fix(ci): prevent "No space left on device" by cleaning up and using release build

This commit is contained in:
dab246
2025-09-29 11:06:11 +07:00
committed by Dat H. Pham
parent 38d64c4089
commit c15353ccad
2 changed files with 49 additions and 6 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
#!/usr/bin/env sh
set -eux
flutter build web --profile --verbose --base-href "/${GITHUB_REPOSITORY##*/}/$FOLDER/"
# Build web in release mode (lightweight, optimized)
flutter build web --release --base-href "/${GITHUB_REPOSITORY##*/}/$FOLDER/"