lemmy-docs/.woodpecker.yml

34 lines
886 B
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
2023-03-24 20:45:52 +00:00
check_documentation_build:
2022-05-30 11:21:25 +00:00
image: rust:1.61-slim-buster
2021-01-18 16:08:20 +00:00
commands:
- cargo install mdbook --git https://github.com/Ruin0x11/mdBook.git --branch localization
--rev 9d8147c --force --debug
- apt-get update
2022-09-03 13:05:07 +00:00
- apt-get install git curl -y
- ./update-includes.sh
2021-01-18 16:08:20 +00:00
- mdbook build .
dead_links:
image: becheran/mlc:latest
commands:
- mlc src/en --ignore-links "*localhost*" --ignore-links "*127.0.0.1*" --ignore-links /api