diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index 20b090c3c..9c447c21f 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -27,7 +27,11 @@ jobs: - run: rm ./assets/vodozemac/.gitignore - run: flutter pub get - name: Build Release Web - run: ./scripts/build-web.sh + run: | + flutter config --enable-web + flutter clean + flutter pub get + flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --profile --source-maps - name: Upload files uses: actions/upload-artifact@v4 diff --git a/scripts/build-web.sh b/scripts/build-web.sh deleted file mode 100644 index 5746a6f90..000000000 --- a/scripts/build-web.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -ve -flutter config --enable-web -flutter clean -flutter pub get -flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --profile --source-maps \ No newline at end of file