diff --git a/.drone.yml b/.drone.yml index 9123fffd88..af113cba62 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,13 @@ -pipeline: - syntaxcheck: +kind: pipeline +type: docker +name: default + +clone: + depth: 1 + +steps: + - name: syntaxcheck image: vsasyan/xmllint commands: - - find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} + - - bash tools/check-non-en-frontpage.sh news + - find . -type f \( -iname "*.xhtml" -o -iname "*.xml" -o -iname "*.xsl" \) -exec xmllint --noout {} + + - bash tools/check-non-en-frontpage.sh news