Skip to content

Commit

Permalink
deploy preview also
Browse files Browse the repository at this point in the history
  • Loading branch information
talves committed Jan 14, 2018
1 parent fc74a13 commit 70640c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
[context.branch-deploy]
publish = "example"
command = "npm run build && cp -v dist/* example/ && node ./scripts/build-command.js"
[context.deploy-preview]
publish = "example"
command = "npm run build && cp -v dist/* example/ && node ./scripts/build-command.js"

0 comments on commit 70640c8

Please sign in to comment.