diff options
| author | David Calavera <david.calavera@gmail.com> | 2016-09-01 10:04:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-01 10:04:47 -0700 |
| commit | d750ef3af85183b80731ecaa14d5a3e0bd31fdc7 (patch) | |
| tree | 976e695766217b3f445f639c26f300598a7a425d /netlify.toml | |
| parent | 7c04c37162c859ce373f9a458536e27358ac16fd (diff) | |
| parent | 24819804aa2d37dc8b0d3e8220b285f2766a9aca (diff) | |
Merge pull request #3 from netlify/add_deploy_context
Add deploy preview context.
Diffstat (limited to 'netlify.toml')
| -rw-r--r-- | netlify.toml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/netlify.toml b/netlify.toml index efcfd06..dd1ef8e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,6 @@ [build] -command = "npm run build" -publish = "dist" + command = "npm run build" + publish = "dist" + +[context.deploy-preview] + command = "npm run build-preview" |
