refact: merge HUGO_VERSION, add deploy-preview. (#18020)

This commit is contained in:
Jacky Wu
2020-01-15 20:47:33 +08:00
committed by Kubernetes Prow Robot
parent f9a939c5cf
commit 6275183b59
2 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -15,10 +15,10 @@ HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"
command = "make deploy-preview"
[context.branch-deploy]
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"
command = "make deploy-preview"
[context.master]
# This context is triggered by the `master` branch and allows search indexing