Skip to content

Commit

Permalink
chore: update deploy workflows to use wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
jsgalarraga committed May 21, 2024
1 parent 8839e58 commit 9e97e55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy_app_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_app_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy_app_staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e97e55

Please sign in to comment.