use markdownlint docker image in drone
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-11-01 22:08:16 +01:00
parent 191b8878ac
commit 8743cfbba2
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -17,13 +17,9 @@ steps:
- curl -L https://github.com/thegeeklab/hugo-geekblog/releases/latest/download/hugo-geekblog.tar.gz | tar -xz -C themes/hugo-geekblog/ --strip-components=1 - curl -L https://github.com/thegeeklab/hugo-geekblog/releases/latest/download/hugo-geekblog.tar.gz | tar -xz -C themes/hugo-geekblog/ --strip-components=1
- name: markdownlint - name: markdownlint
image: node:lts-alpine image: thegeeklab/markdownlint-cli
commands: commands:
- npm install -g markdownlint-cli
- markdownlint 'content/**/*.md' 'README.md' - markdownlint 'content/**/*.md' 'README.md'
environment:
FORCE_COLOR: true
NPM_CONFIG_LOGLEVEL: error
- name: spellcheck - name: spellcheck
image: node:lts-alpine image: node:lts-alpine
@ -114,6 +110,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 9804d6d37d7aab27cc51ce360e8efdafb71aae2fb0592df720dbc6a4625b2a28 hmac: 01fdb24010e4027cb131ca2138b50164ad62a574b565ed05642a22f95a89c368
... ...