Skip to content

Commit

Permalink
setup with firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nmacdon3 committed Jan 22, 2023
1 parent 1ffe009 commit da4c3ea
Show file tree
Hide file tree
Showing 10 changed files with 2,192 additions and 145 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "resume-53741"
}
}
19 changes: 0 additions & 19 deletions .github/deploy.sh

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/deploy-pages.yml

This file was deleted.

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@v2
- run: npm install
- run: npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RESUME_53741 }}'
projectId: resume-53741
12 changes: 12 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"hosting": {
"public": "dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Loading

0 comments on commit da4c3ea

Please sign in to comment.