Skip to content

Commit

Permalink
update deploy command
Browse files Browse the repository at this point in the history
  • Loading branch information
YakovlevCoded committed May 20, 2021
1 parent 6439b18 commit d81c737
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ yarn-error.log*
.vercel

# Local Netlify folder
.netlify
# .netlify
3 changes: 3 additions & 0 deletions .netlify/state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"siteId": "51f8094d-998a-424a-b471-6499f5bf2933"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "next build",
"export": "next export",
"start": "next start",
"deploy": "netlify deploy --prod"
"deploy": "next build && next export && netlify deploy --prod --dir=out"
},
"dependencies": {
"bootstrap": "^5.0.1",
Expand Down

0 comments on commit d81c737

Please sign in to comment.