From 9e97e55950854af7235ae54dbb0dbfa5192bf193 Mon Sep 17 00:00:00 2001 From: Jaime Sanchez Date: Tue, 21 May 2024 16:00:01 +0200 Subject: [PATCH] chore: update deploy workflows to use wasm --- .github/workflows/deploy_app_dev.yaml | 3 +-- .github/workflows/deploy_app_prod.yaml | 2 +- .github/workflows/deploy_app_staging.yaml | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy_app_dev.yaml b/.github/workflows/deploy_app_dev.yaml index 5b31dd91c..3f3241b46 100644 --- a/.github/workflows/deploy_app_dev.yaml +++ b/.github/workflows/deploy_app_dev.yaml @@ -14,9 +14,8 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: "stable" - flutter-version: 3.19.6 - run: flutter packages get - - run: flutter build web --web-renderer canvaskit -t lib/main_development.dart --dart-define RECAPTCHA_KEY=${{ secrets.RECAPTCHA_KEY }} + - run: flutter build web -t lib/main_development.dart --dart-define RECAPTCHA_KEY=${{ secrets.RECAPTCHA_KEY }} --wasm - uses: FirebaseExtended/action-hosting-deploy@v0 diff --git a/.github/workflows/deploy_app_prod.yaml b/.github/workflows/deploy_app_prod.yaml index 071dbd192..f8c063d4c 100644 --- a/.github/workflows/deploy_app_prod.yaml +++ b/.github/workflows/deploy_app_prod.yaml @@ -12,7 +12,7 @@ jobs: with: channel: "stable" - run: flutter packages get - - run: flutter build web --web-renderer canvaskit -t lib/main_production.dart --dart-define RECAPTCHA_KEY=${{ secrets.RECAPTCHA_KEY_PROD }} + - run: flutter build web -t lib/main_production.dart --dart-define RECAPTCHA_KEY=${{ secrets.RECAPTCHA_KEY_PROD }} --wasm - uses: FirebaseExtended/action-hosting-deploy@v0 diff --git a/.github/workflows/deploy_app_staging.yaml b/.github/workflows/deploy_app_staging.yaml index ae2b358e6..8bad0f30c 100644 --- a/.github/workflows/deploy_app_staging.yaml +++ b/.github/workflows/deploy_app_staging.yaml @@ -11,9 +11,8 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: "stable" - flutter-version: 3.19.6 - run: flutter packages get - - run: flutter build web --web-renderer canvaskit -t lib/main_staging.dart --dart-define RECAPTCHA_KEY=${{ secrets.RECAPTCHA_KEY }} + - run: flutter build web -t lib/main_staging.dart --dart-define RECAPTCHA_KEY=${{ secrets.RECAPTCHA_KEY }} --wasm - uses: FirebaseExtended/action-hosting-deploy@v0