mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 16:17:21 +00:00
Add production config
This commit is contained in:
1 parent
b779fdc817
commit
2c25718040
2 files changed
+10
-1
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
baseurl = "http://gohugo.io/"
|
baseURL = "https://gohugo.io/"
|
||||||
paginate = 100
|
paginate = 100
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
[build]
|
||||||
|
publish = "public"
|
||||||
|
command = "hugo"
|
||||||
|
|
||||||
|
[context.production.environment]
|
||||||
|
HUGO_VERSION = "0.25.1"
|
||||||
|
HUGO_ENV = "production"
|
||||||
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.next.environment]
|
[context.next.environment]
|
||||||
HUGO_VERSION = "0.25.1"
|
HUGO_VERSION = "0.25.1"
|
||||||
HUGO_ENV = "development"
|
HUGO_ENV = "development"
|
||||||
|
|||||||
Reference in new issue
Block a user