Fixing syntax checking

lektura
Jonas Oberg 2017-09-12 09:59:04 +02:00
parent 8d046f2c76
commit d84eb3a19a
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ pipeline:
syntaxcheck:
image: publysher/hugo
commands:
- cd site; ./build/build.sh
- cd site; ./build/build.sh synax
deploy:
image: williamyeh/ansible:debian8

View File

@ -16,6 +16,8 @@ cat config-static.toml languages/strings.en.toml ${languagefiles} > config.toml
# Execute hugo buildrun
if [ "$mode" == "server" ]; then
hugo server
elif [ "$mode" == "syntax" ]; then
hugo
else
hugo