Skip to content

Commit

Permalink
Add predeploy script for hosting
Browse files Browse the repository at this point in the history
This makes sure we've pulled in dependencies and rebuilt the site before
deploying the front-end.
  • Loading branch information
reidmit committed Dec 7, 2020
1 parent df74eae commit f2e1c52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
}
},
"hosting": {
"predeploy": ["yarn install", "yarn build"],
"public": "build",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
Expand Down

0 comments on commit f2e1c52

Please sign in to comment.