Skip to content

Commit

Permalink
site: Add netlify.toml (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetb authored Feb 28, 2020
1 parent c473daa commit db75fac
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[build]
base = "site/"
publish = "site/public/"
command = "hugo --gc"

[build.environment]
HUGO_VERSION = "0.65.1"

[context.production.environment]
HUGO_ENV = "production"

[context.deploy-preview]
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"

0 comments on commit db75fac

Please sign in to comment.