mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-22 04:11:09 +00:00
20 lines
604 B
YAML
20 lines
604 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: fetch git submodules
|
|
image: alpine/git
|
|
commands:
|
|
- git submodule init
|
|
- git submodule update --recursive --remote
|
|
|
|
- name: check documentation build
|
|
image: michaelfbryan/mdbook-docker-image:latest
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install git cargo -y
|
|
- cargo install mdbook --git https://github.com/Ruin0x11/mdBook.git --branch localization
|
|
--rev 9d8147c --force --debug
|
|
- ./update-includes.sh
|
|
- echo "\n\n[output.html]\n\n[output.linkcheck]" >> "book.toml"
|
|
- mdbook build .
|