mirror of
https://github.com/flutter/holobooth.git
synced 2025-05-17 21:36:00 +08:00
chore: enable sharing for dev and prod (#422)
This commit is contained in:
2
.github/workflows/deploy_app_dev.yaml
vendored
2
.github/workflows/deploy_app_dev.yaml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
flutter-version: "3.6.0-0.1.pre"
|
||||
channel: "beta"
|
||||
- run: flutter packages get
|
||||
- run: flutter build web --web-renderer canvaskit -t lib/main_dev.dart --dart-define SHARING_ENABLED=false
|
||||
- run: flutter build web --web-renderer canvaskit -t lib/main_dev.dart --dart-define SHARING_ENABLED=true
|
||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
2
.github/workflows/deploy_app_production.yaml
vendored
2
.github/workflows/deploy_app_production.yaml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
flutter-version: "3.6.0-0.1.pre"
|
||||
channel: "beta"
|
||||
- run: flutter packages get
|
||||
- run: flutter build web --web-renderer canvaskit -t lib/main_prod.dart --dart-define SHARING_ENABLED=false
|
||||
- run: flutter build web --web-renderer canvaskit -t lib/main_prod.dart --dart-define SHARING_ENABLED=true
|
||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
Reference in New Issue
Block a user