From 9c117800264357b32c305ab12f20694516d12089 Mon Sep 17 00:00:00 2001 From: Brord van Wierst Date: Sun, 10 Dec 2023 23:22:03 +0100 Subject: [PATCH] dumb quickfix --- .github/workflows/main_deploy.yaml | 1 + scripts/build-web.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index 3abd9d18d..328bba665 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -33,6 +33,7 @@ jobs: mv build/web public touch public/.env echo "$WEB_APP_ENV" >> public/.env + cp public/.env public/assets/.env - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: diff --git a/scripts/build-web.sh b/scripts/build-web.sh index 603a84301..8e46ed749 100755 --- a/scripts/build-web.sh +++ b/scripts/build-web.sh @@ -2,5 +2,5 @@ flutter config --enable-web flutter clean flutter pub get -flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --source-maps --base-href "/client/" +flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --profile --source-maps --base-href "/client/" # flutter build web --release --verbose --source-maps --dart-define=SENTRY_RELEASE=$CI_COMMIT_SHA