Configuring Netlify deploy-previews
This commit is contained in:
parent
8c420c9b8f
commit
239c7e9ff9
1 changed files with 5 additions and 0 deletions
|
|
@ -8,3 +8,8 @@
|
|||
# Deploy documentation website on each commit on master
|
||||
[context.master]
|
||||
command = "./scripts/netlify-master"
|
||||
|
||||
# Deploy previews on each PR
|
||||
[context.deploy-preview]
|
||||
command = "yarn run docs:build"
|
||||
publish = "docs/dist"
|
||||
|
|
|
|||
Loading…
Reference in a new issue