mirror of https://github.com/flutter/pinball.git
ci: remove auto deploy to staging (#482)
parent
c41e41d66e
commit
f04808dc36
@ -1,33 +0,0 @@
|
||||
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
|
@ -1,11 +1,11 @@
|
||||
if (typeof firebase === 'undefined') throw new Error('hosting/init-error: Firebase SDK not detected. You must include it before /__/firebase/init.js');
|
||||
firebase.initializeApp({
|
||||
"apiKey": "AIzaSyBgMVAvYccjNypCDdpW0ol6syCcISU2yjM",
|
||||
"appId": "1:725488140557:web:7c61a0755fc23436fe7044",
|
||||
"authDomain": "pinball-dev.firebaseapp.com",
|
||||
"apiKey": "",
|
||||
"appId": "",
|
||||
"authDomain": "",
|
||||
"databaseURL": "",
|
||||
"measurementId": "G-9NW8SZRFJR",
|
||||
"messagingSenderId": "725488140557",
|
||||
"projectId": "pinball-dev",
|
||||
"storageBucket": "pinball-dev.appspot.com"
|
||||
"measurementId": "",
|
||||
"messagingSenderId": "",
|
||||
"projectId": "",
|
||||
"storageBucket": ""
|
||||
});
|
Loading…
Reference in new issue