forked from LemmyNet/lemmy-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.woodpecker.yml
41 lines (37 loc) · 1.12 KB
/
.woodpecker.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
# clone:
# git:
# image: woodpeckerci/plugin-git
# settings:
# recursive: true
# submodule_update_remote: true
pipeline:
prepare_repo:
image: alpine:3
commands:
- apk add git
#- git fetch --tags
- git submodule init
- git submodule update --recursive --remote
check_formatting:
image: tmknom/prettier
commands:
- prettier -c src
check_typos:
image: alpine:3
commands:
- wget -O typos.tar.gz https://github.com/crate-ci/typos/releases/download/v1.14.12/typos-v1.14.12-x86_64-unknown-linux-musl.tar.gz
- tar -xzf typos.tar.gz
- ./typos src
check_documentation_build:
image: alpine:3
commands:
- apk add bash curl git
- wget -O mdbook.tar.gz https://github.com/rust-lang/mdBook/releases/download/v0.4.30/mdbook-v0.4.30-x86_64-unknown-linux-musl.tar.gz
- tar -xzf mdbook.tar.gz
- ls -la mdbook
- ./update-includes.sh
- ./mdbook build .
dead_links:
image: becheran/mlc:latest
commands:
- mlc src/en --offline --ignore-links "*localhost*" --ignore-links "*127.0.0.1*" --ignore-links /api