diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml deleted file mode 100644 index f260a028..00000000 --- a/.github/workflows/deploy.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/firebase.json b/firebase.json index c0153ecc..d2e803bf 100644 --- a/firebase.json +++ b/firebase.json @@ -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)", diff --git a/web/__/firebase/init.js b/web/__/firebase/init.js index 1453c8ab..26c9c4ef 100644 --- a/web/__/firebase/init.js +++ b/web/__/firebase/init.js @@ -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": "" }); \ No newline at end of file