mirror of https://github.com/flutter/pinball.git
parent
45cd89face
commit
c91f2cdac8
@ -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@v1.5.0
|
||||
with:
|
||||
channel: stable
|
||||
- run: flutter packages get
|
||||
- run: flutter build web
|
||||
- uses: FirebaseExtended/action-hosting-deploy@v0
|
||||
with:
|
||||
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PINBALL_DEV }}"
|
||||
projectId: pinball-dev
|
||||
expires: 30d
|
||||
channelId: live
|
Loading…
Reference in new issue