Fixing syntax checking
parent
8d046f2c76
commit
d84eb3a19a
|
@ -7,7 +7,7 @@ pipeline:
|
||||||
syntaxcheck:
|
syntaxcheck:
|
||||||
image: publysher/hugo
|
image: publysher/hugo
|
||||||
commands:
|
commands:
|
||||||
- cd site; ./build/build.sh
|
- cd site; ./build/build.sh synax
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: williamyeh/ansible:debian8
|
image: williamyeh/ansible:debian8
|
||||||
|
|
|
@ -16,6 +16,8 @@ cat config-static.toml languages/strings.en.toml ${languagefiles} > config.toml
|
||||||
# Execute hugo buildrun
|
# Execute hugo buildrun
|
||||||
if [ "$mode" == "server" ]; then
|
if [ "$mode" == "server" ]; then
|
||||||
hugo server
|
hugo server
|
||||||
|
elif [ "$mode" == "syntax" ]; then
|
||||||
|
hugo
|
||||||
else
|
else
|
||||||
hugo
|
hugo
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue