forked from equinixmetal-archive/docs-packet-legacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
63 lines (53 loc) · 1.16 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
kind: pipeline
type: docker
name: Markdown Structure Linters
trigger:
repo:
- packethost/docs
event:
- push
- pull-request
steps:
- name: write-good
image: node:current-alpine
commands:
- yarn global add write-good --silent
- write-good README.md
depends_on: [clone]
- name: alex
image: node:current-alpine
commands:
- yarn global add alex --silent
- alex README.md
depends_on: [clone]
- name: markdownlint
image: node:current-alpine
commands:
- yarn global add markdownlint-cli --silent
- markdownlint README.md
depends_on: [clone]
- name: yamllint
image: python:alpine
commands:
- pip3 install --quiet yamllint
- yamllint --config-file .yamllint.config --strict .*.yml
depends_on: [clone]
---
kind: pipeline
type: docker
name: Markdown Image Linters
trigger:
repo:
- packethost/docs
event:
- push
- pull-request
steps:
- name: markdown-image-cli
image: node:current-alpine
commands:
- npm i -g markdown-image-cli
- markdown-image-cli -d ./products
- markdown-image-cli -d ./guides
depends_on: [clone]