ci: remove auto deploy to staging (#482)

main
Tom Arra 2 years ago committed by GitHub
parent c41e41d66e
commit f04808dc36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

@ -4,12 +4,8 @@
},
"hosting": {
"public": "build/web",
"site": "ashehwkdkdjruejdnensjsjdne",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"site": "",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"headers": [
{
"source": "**/*.@(jpg|jpeg|gif|png)",

@ -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…
Cancel
Save