lemmy-docs/.woodpecker.yml
Dessalines 8ea712e8e4
Running prettier on markdown files. (#165)
* Running prettier on markdown files.

* Add prettier check to CI, and script.

* Forgot to add prettier

* Try to add testing repo.

* Address PR comments.
2023-04-15 15:11:44 +02:00

21 lines
623 B
YAML

clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
submodule_update_remote: true
pipeline:
check_formatting:
image: alpine:3
commands:
- apk add prettier --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
- prettier -c src
check_documentation_build:
image: rust:1.61-slim-buster
commands:
- cargo install mdbook --git https://github.com/Ruin0x11/mdBook.git --branch localization
--rev 9d8147c --force --debug
- apt-get update
- apt-get install git curl -y
- ./update-includes.sh
- mdbook build .