Fixing syntax checking
parent
8d046f2c76
commit
d84eb3a19a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue