mirror of https://github.com/crossplane/docs.git
fix bash syntax error
Signed-off-by: Pete Lumbis <pete@upbound.io>
This commit is contained in:
parent
3069a03bc2
commit
37eebfc13d
|
@ -9,8 +9,7 @@ sed -i "s/^\s*version: \"$LATEST_VER\"//g" content/latest/_index.md
|
||||||
sed -i 's/# writeStats: true/writeStats: true/g' config.yaml
|
sed -i 's/# writeStats: true/writeStats: true/g' config.yaml
|
||||||
cat config.yaml
|
cat config.yaml
|
||||||
|
|
||||||
if [ $CONTEXT = "production"]
|
if [ "$CONTEXT" = "production" ]; then
|
||||||
then
|
|
||||||
hugo --minify --baseURL https://docs.crossplane.io/
|
hugo --minify --baseURL https://docs.crossplane.io/
|
||||||
else
|
else
|
||||||
hugo --minify --baseURL $DEPLOY_URL
|
hugo --minify --baseURL $DEPLOY_URL
|
||||||
|
|
Loading…
Reference in New Issue