mirror of
https://github.com/LemmyNet/lemmy-docs.git
synced 2024-11-24 13:21:10 +00:00
Fixing woodpecker.
This commit is contained in:
parent
ada0c521c7
commit
bb1547a4a9
1 changed files with 11 additions and 8 deletions
|
@ -1,22 +1,19 @@
|
||||||
# clone:
|
steps:
|
||||||
# git:
|
|
||||||
# image: woodpeckerci/plugin-git
|
|
||||||
# settings:
|
|
||||||
# recursive: true
|
|
||||||
# submodule_update_remote: true
|
|
||||||
pipeline:
|
|
||||||
prepare_repo:
|
prepare_repo:
|
||||||
image: alpine:3
|
image: alpine:3
|
||||||
commands:
|
commands:
|
||||||
- apk add git
|
- apk add git
|
||||||
#- git fetch --tags
|
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update --recursive --remote
|
- git submodule update --recursive --remote
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
check_formatting:
|
check_formatting:
|
||||||
image: tmknom/prettier
|
image: tmknom/prettier
|
||||||
commands:
|
commands:
|
||||||
- prettier -c src
|
- prettier -c src
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
check_typos:
|
check_typos:
|
||||||
image: alpine:3
|
image: alpine:3
|
||||||
|
@ -24,6 +21,8 @@ pipeline:
|
||||||
- wget -O typos.tar.gz https://github.com/crate-ci/typos/releases/download/v1.14.12/typos-v1.14.12-x86_64-unknown-linux-musl.tar.gz
|
- wget -O typos.tar.gz https://github.com/crate-ci/typos/releases/download/v1.14.12/typos-v1.14.12-x86_64-unknown-linux-musl.tar.gz
|
||||||
- tar -xzf typos.tar.gz
|
- tar -xzf typos.tar.gz
|
||||||
- ./typos src
|
- ./typos src
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
check_documentation_build:
|
check_documentation_build:
|
||||||
image: alpine:3
|
image: alpine:3
|
||||||
|
@ -34,8 +33,12 @@ pipeline:
|
||||||
- ls -la mdbook
|
- ls -la mdbook
|
||||||
- ./update-includes.sh
|
- ./update-includes.sh
|
||||||
- ./mdbook build .
|
- ./mdbook build .
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
||||||
dead_links:
|
dead_links:
|
||||||
image: becheran/mlc:latest
|
image: becheran/mlc:latest
|
||||||
commands:
|
commands:
|
||||||
- mlc src/en --offline --ignore-links "*localhost*" --ignore-links "*127.0.0.1*" --ignore-links /api
|
- mlc src/en --offline --ignore-links "*localhost*" --ignore-links "*127.0.0.1*" --ignore-links /api
|
||||||
|
when:
|
||||||
|
- event: pull_request
|
||||||
|
|
Loading…
Reference in a new issue