Browse Source

Fixing syntax checking

img
Jonas Oberg 2 years ago
parent
commit
d84eb3a19a
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      .drone.yml
  2. 2
    0
      site/build/build.sh

+ 1
- 1
.drone.yml 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

+ 2
- 0
site/build/build.sh 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


Loading…
Cancel
Save