Skip to content

Commit

Permalink
fix(netlify): use Linux version of Hugo on netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayeu committed Apr 5, 2020
1 parent 7503de0 commit a339779
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@
command = "make build"
publish = "dist"

[context.production.environment]
[build.environment]
HUGO_VERSION = "0.54.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
hugo_bin = "hugo"

[context.deploy-preview.environment]
HUGO_VERSION = "0.54.0"
HUGO_ENV = "production"
hugo_bin = "hugo"
HUGO_PLATFORM = "Linux-64bit"

[[headers]]
for = "/*"
Expand Down

0 comments on commit a339779

Please sign in to comment.