File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1
1
[build ]
2
- publish = " public"
3
- command = """
4
- if [ \" $CONTEXT\" = \" production\" ]; then
5
- hugo --baseURL=\" https://istio.io/\"
6
- elif [ \" $CONTEXT\" = \" deploy-preview\" ]; then
7
- hugo --baseURL=\" $DEPLOY_PRIME_URL/\"
8
- else
9
- hugo --baseURL=\" https://preliminary.istio.io/\"
10
- fi
11
- """
2
+ publish = " public"
3
+ [context .production ]
4
+ command =" hugo --baseURL=https://istio.io/latest"
5
+ [context .deploy-preview ]
6
+ command =" hugo --baseURL=${DEPLOY_PRIME_URL}/"
7
+ [context .branch-deploy ]
8
+ command =" hugo --baseURL=https://preliminary.istio.io/"
12
9
[build .environment ]
13
10
# Consult the Docs WG before bumping Hugo.
14
11
# Specifically, the version here should match docker/build-tools/Dockerfile in istio/tools,
You can’t perform that action at this time.
0 commit comments