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');
|
if (typeof firebase === 'undefined') throw new Error('hosting/init-error: Firebase SDK not detected. You must include it before /__/firebase/init.js');
|
||||||
firebase.initializeApp({
|
firebase.initializeApp({
|
||||||
"apiKey": "AIzaSyBgMVAvYccjNypCDdpW0ol6syCcISU2yjM",
|
"apiKey": "",
|
||||||
"appId": "1:725488140557:web:7c61a0755fc23436fe7044",
|
"appId": "",
|
||||||
"authDomain": "pinball-dev.firebaseapp.com",
|
"authDomain": "",
|
||||||
"databaseURL": "",
|
"databaseURL": "",
|
||||||
"measurementId": "G-9NW8SZRFJR",
|
"measurementId": "",
|
||||||
"messagingSenderId": "725488140557",
|
"messagingSenderId": "",
|
||||||
"projectId": "pinball-dev",
|
"projectId": "",
|
||||||
"storageBucket": "pinball-dev.appspot.com"
|
"storageBucket": ""
|
||||||
});
|
});
|
Loading…
Reference in new issue