From d5e5f18396da0ebcde8b5b57e0398095a0284d7f Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Tue, 6 Dec 2022 12:11:54 +0100 Subject: [PATCH] refactor: remove firebase - due to issues with deployment, github actions, GCP IAM and ServiceAccounts, I removed firebase to switch to Netlify <3 --- .firebaserc | 5 ----- .github/workflows/firebase-hosting-merge.yml | 22 ------------------- .../firebase-hosting-pull-request.yml | 19 ---------------- firebase.json | 10 --------- 4 files changed, 56 deletions(-) delete mode 100644 .firebaserc delete mode 100644 .github/workflows/firebase-hosting-merge.yml delete mode 100644 .github/workflows/firebase-hosting-pull-request.yml delete mode 100644 firebase.json diff --git a/.firebaserc b/.firebaserc deleted file mode 100644 index 9309b29..0000000 --- a/.firebaserc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "projects": { - "default": "vojtechmares-website" - } -} diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml deleted file mode 100644 index 3287e12..0000000 --- a/.github/workflows/firebase-hosting-merge.yml +++ /dev/null @@ -1,22 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on merge -'on': - push: - branches: - - main -jobs: - build_and_deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: npm install -g pnpm && pnpm i && pnpm run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_VOJTECHMARES_WEBSITE }}' - channelId: live - projectId: vojtechmares-website - env: - FIREBASE_CLI_EXPERIMENTS: webframeworks diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml deleted file mode 100644 index 6daf002..0000000 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ /dev/null @@ -1,19 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on PR -'on': pull_request -jobs: - build_and_preview: - if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - run: npm install -g pnpm && pnpm i && pnpm run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_VOJTECHMARES_WEBSITE }}' - projectId: vojtechmares-website - env: - FIREBASE_CLI_EXPERIMENTS: webframeworks diff --git a/firebase.json b/firebase.json deleted file mode 100644 index df8d367..0000000 --- a/firebase.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "hosting": { - "source": ".", - "ignore": [ - "firebase.json", - "**/.*", - "**/node_modules/**" - ] - } -}