add netlify.toml

master
pooya parsa 2019-04-09 15:12:15 +04:30
parent a1c85de06e
commit c4d56e0f77
1 changed files with 11 additions and 0 deletions

11
netlify.toml Normal file
View File

@ -0,0 +1,11 @@
# Global settings applied to the whole site.
#
# “base” is the directory to change to before starting build. If you set base:
# that is where we will look for package.json/.nvmrc/etc, not repo root!
# “command” is your build command.
# “publish” is the directory to publish (relative to the root of your repo).
[build]
base = "docs"
command = "yarn && yarn build"
publish = "docs/.vuepress/dist"