lemmy-docs/.woodpecker.yml

39 lines
1 KiB
YAML
Raw Normal View History

2023-04-25 20:36:47 +00:00
# clone:
# git:
# image: woodpeckerci/plugin-git
# settings:
# recursive: true
# submodule_update_remote: true
2023-03-24 20:45:52 +00:00
pipeline:
2023-04-25 20:36:47 +00:00
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
2023-06-20 13:48:28 +00:00
- ./typos src
2023-03-24 20:45:52 +00:00
check_documentation_build:
2023-06-20 13:39:37 +00:00
image: alpine:3
2021-01-18 16:08:20 +00:00
commands:
2023-06-20 13:39:37 +00:00
- wget -O https://github.com/rust-lang/mdBook/releases/download/v0.4.30/mdbook-v0.4.30-aarch64-unknown-linux-musl.tar.gz mdbook.tar.gz
- tar -xzf mdbook.tar.gz
- ./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