Skip to content

Commit

Permalink
Firebase hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-okay committed May 24, 2023
1 parent 7595b12 commit e71a428
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 96 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "okay-797ad"
}
}
20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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@v3
- run: yarn generate
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_OKAY_797AD }}'
channelId: live
projectId: okay-797ad
90 changes: 0 additions & 90 deletions .github/workflows/nuxtjs.yml

This file was deleted.

10 changes: 10 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
6 changes: 0 additions & 6 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ import theme from '@nuxt/content-theme-docs'

export default theme({
buildModules: ['@nuxt/typescript-build'],
app: {
baseURL: '/ee-handbook/'
},
router: {
base: '/ee-handbook/'
},
build: {
transpile: [/^vue-github-button/]
}
Expand Down

0 comments on commit e71a428

Please sign in to comment.