diff options
author | Patrice Chalin <chalin@users.noreply.github.com> | 2022-01-19 12:41:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 12:41:25 +0300 |
commit | 3900a6da6c70e4e70955b25537f448c116149c06 (patch) | |
tree | f6c282ccd8e9f9f069db689ae62d649d01943afe /netlify.toml | |
parent | b6af3699c65dd089f453700bee858c1de7d73dd7 (diff) |
Simplify setup: install Hugo automatically (and get the right version) using NPM (#841)
Diffstat (limited to 'netlify.toml')
-rw-r--r-- | netlify.toml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/netlify.toml b/netlify.toml index ff26007..a76132e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,12 +3,11 @@ [build] publish = "userguide/public" -command = "npm install && npm run build:preview" +command = "npm run build:preview" [build.environment] -HUGO_VERSION = "0.92.0" GO_VERSION = "1.17.6" HUGO_THEME = "repo" [context.production] -command = "npm install && npm run build:production" +command = "npm run build:production" |