Skip to content

deploy_app_prod

deploy_app_prod #1

name: deploy_app_prod
on: workflow_dispatch
jobs:
deploy-dev:
runs-on: ubuntu-latest
name: Deploy App Production
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- run: flutter packages get
- run: flutter build web --web-renderer canvaskit -t lib/main_production.dart
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PROD }}"
projectId: io-crossword
target: app_prod
expires: 30d
channelId: live