Skip to content

Commit

Permalink
add netlify-cli in place of serve for local work, and as test for dep…
Browse files Browse the repository at this point in the history
…loyment
  • Loading branch information
lunelson committed Aug 4, 2020
1 parent d752798 commit c6567d1
Show file tree
Hide file tree
Showing 5 changed files with 3,367 additions and 209 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,6 @@ docs/.docusaurus
docs/docs/variables.json
docs/docs/sources/
docs/docs/changelog.mdx

# Local Netlify folder
.netlify
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"start": "yarn run pre-build && docusaurus start",
"pre-build": "yarn run copy-md-files && yarn run variables && yarn run program-outputs && yarn run included-sources",
"serve": "serve",
"serve": "netlify dev -d build",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"new-version": "docusaurus docs:version",
Expand Down Expand Up @@ -57,7 +57,7 @@
]
},
"devDependencies": {
"serve": "^11.3.2",
"netlify-cli": "^2.59.0",
"toml": "^3.0.0"
}
}
9 changes: 0 additions & 9 deletions docs/serve.json

This file was deleted.

1 change: 1 addition & 0 deletions docs/static/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/docs/rasa/next/* /:splat 200!
Loading

0 comments on commit c6567d1

Please sign in to comment.