Skip to content

Commit

Permalink
Upgrade firebase-tools and use predeploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
dtinth committed Oct 6, 2022
1 parent 00d2db2 commit 769b46a
Show file tree
Hide file tree
Showing 5 changed files with 1,491 additions and 892 deletions.
1 change: 0 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
8 changes: 6 additions & 2 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"hosting": {
"hosting": [{
"site": "webmidicon",
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"predeploy": [
"yarn build"
]
}
}]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/react-router-dom": "^5.1.7",
"@types/webmidi": "^2.0.4",
"@vitejs/plugin-react-refresh": "^1.3.1",
"firebase-tools": "^9.6.1",
"firebase-tools": "11.13.0",
"typescript": "^4.1.2",
"vite": "^2.0.5",
"vite-plugin-pwa": "^0.7.3"
Expand Down
Loading

0 comments on commit 769b46a

Please sign in to comment.