You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: deploy
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy-dev:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Deploy Development
|
|
|
|
steps:
|
|
|
|
- name: Checkout Repo
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Setup Flutter
|
|
|
|
uses: subosito/flutter-action@v2
|
|
|
|
with:
|
|
|
|
channel: stable
|
|
|
|
|
|
|
|
- name: Build Flutter App
|
|
|
|
run: |
|
|
|
|
flutter packages get
|
|
|
|
flutter build web --target lib/main.dart --web-renderer canvaskit --release
|
|
|
|
|
|
|
|
- name: Deploy to Firebase
|
|
|
|
uses: FirebaseExtended/action-hosting-deploy@v0
|
|
|
|
with:
|
|
|
|
repoToken: "${{ secrets.GITHUB_TOKEN }}"
|
|
|
|
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_PINBALL_DEV }}"
|
|
|
|
channelId: live
|
|
|
|
projectId: pinball-dev
|
|
|
|
target: ashehwkdkdjruejdnensjsjdne
|