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": { "hosting": {
"public": "build/web", "public": "build/web",
"site": "ashehwkdkdjruejdnensjsjdne", "site": "",
"ignore": [ "ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"headers": [ "headers": [
{ {
"source": "**/*.@(jpg|jpeg|gif|png)", "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'); 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…
Cancel
Save