ci: deploy script for dev (#261)

* ci: deploy script for dev

* use correct dev id

* updates

* add in release flag

* update flutter action to 2
pull/265/head
Tom Arra 2 years ago committed by GitHub
parent 496bd009d8
commit 54d6a5a629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,25 @@
name: deploy
on:
push:
branches:
- main
jobs:
deploy-dev:
runs-on: ubuntu-latest
name: Deploy Development
steps:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
channel: stable
- run: flutter packages get
- run: flutter build web --target lib/main_development.dart --web-renderer canvaskit --release
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PINBALL_DEV }}"
projectId: ashehwkdkdjruejdnensjsjdne
expires: 30d
channelId: live
Loading…
Cancel
Save