mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
add netlify
This commit is contained in:
parent
5342925560
commit
3ecefa7368
1 changed files with 24 additions and 0 deletions
24
netlify.toml
Normal file
24
netlify.toml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
[build]
|
||||||
|
command = "cd exampleSite && hugo --gc --minify -D -b $URL"
|
||||||
|
publish = "exampleSite/public"
|
||||||
|
|
||||||
|
[build.environment]
|
||||||
|
HUGO_THEMESDIR = "../.."
|
||||||
|
HUGO_THEME = "repo"
|
||||||
|
TZ = "Portugal/Lisbon"
|
||||||
|
|
||||||
|
[context.production.environment]
|
||||||
|
HUGO_VERSION = "0.100.2"
|
||||||
|
HUGO_ENV = "production"
|
||||||
|
|
||||||
|
[context.deploy-preview]
|
||||||
|
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[context.deploy-preview.environment]
|
||||||
|
HUGO_VERSION = "0.100.2"
|
||||||
|
|
||||||
|
[context.branch-deploy]
|
||||||
|
command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL"
|
||||||
|
|
||||||
|
[context.branch-deploy.environment]
|
||||||
|
HUGO_VERSION = "0.100.2"
|
Loading…
Reference in a new issue