lemmy-docs/.drone.yml
Nutomic 06a3da7d42
Generate config docs from lemmy code (#102)
* Generate config docs from lemmy code

* fix mkdir error in build.sh, update lemmy submodule

* fix drone config

* init git submodule

* install git

* apt update

* -y

* dont do submodule init

* x

* w

* update gitignore

* xz

* remove submodule

* readd submodule

* step

* update rust

* deps

* use defaults.hjson from lemmy without building, also include apub examples

* use updated mdbook from upstream pr

https://github.com/rust-lang/mdBook/pull/1306#issuecomment-920429495

* Download embeds over http instead of using git submodule

* install curl

* apt update

* typo

* -y
2021-10-25 10:00:45 -04:00

19 lines
510 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: rust:1.49-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 curl -y
- ./update-includes.sh
- mdbook build .