mirror of
https://github.com/flutter/holobooth.git
synced 2026-03-13 10:30:50 +08:00
* chore: wip * feat: twitter link * test: repository * test: coverage * chore: comment * chore: refactor * chore: refactor * Update lib/main_prod.dart Co-authored-by: Erick <erickzanardoo@gmail.com> * Update lib/main_prod.dart Co-authored-by: Erick <erickzanardoo@gmail.com> * feat: enable sharing just for developers * chore: localized text * chore: comments * chore: wip * chore: naming * feat: share facebook * chore: rename * chore: format * chore: typo * chore: nit Co-authored-by: Erick <erickzanardoo@gmail.com>
28 lines
784 B
YAML
28 lines
784 B
YAML
name: deploy_app_dev
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy-dev:
|
|
runs-on: ubuntu-latest
|
|
name: Deploy App Development
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: subosito/flutter-action@v2
|
|
with:
|
|
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
|
|
- uses: FirebaseExtended/action-hosting-deploy@v0
|
|
with:
|
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
|
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PHOTOBOOTH_DEV }}"
|
|
projectId: io-photobooth-dev
|
|
target: app_dev
|
|
expires: 30d
|
|
channelId: live
|