refactor: remove firebase
- due to issues with deployment, github actions, GCP IAM and ServiceAccounts, I removed firebase to switch to Netlify <3
This commit is contained in:
parent
f72f20ef8b
commit
d5e5f18396
4 changed files with 0 additions and 56 deletions
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"projects": {
|
||||
"default": "vojtechmares-website"
|
||||
}
|
||||
}
|
||||
22
.github/workflows/firebase-hosting-merge.yml
vendored
22
.github/workflows/firebase-hosting-merge.yml
vendored
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"hosting": {
|
||||
"source": ".",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
"**/.*",
|
||||
"**/node_modules/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in a new issue