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
|
2023-04-15 13:11:44 +00:00
|
|
|
check_formatting:
|
2023-05-30 17:13:54 +00:00
|
|
|
image: tmknom/prettier
|
2021-10-25 14:00:45 +00:00
|
|
|
commands:
|
2023-04-15 13:11:44 +00:00
|
|
|
- prettier -c src
|
2023-04-21 14:40:14 +00:00
|
|
|
|
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:
|
2021-10-25 14:00:45 +00:00
|
|
|
- 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
|
2021-10-25 14:00:45 +00:00
|
|
|
- ./update-includes.sh
|
2021-01-18 16:08:20 +00:00
|
|
|
- mdbook build .
|
2023-04-25 13:23:11 +00:00
|
|
|
|
|
|
|
dead_links:
|
|
|
|
image: becheran/mlc:latest
|
|
|
|
commands:
|
|
|
|
- mlc src/en --ignore-links "*localhost*" --ignore-links "*127.0.0.1*" --ignore-links /api
|