mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-21 17:00:40 +00:00
chore: replace linkcheck by lychee (#482)
* chore: replace linkcheck by lychee * fix step order in docs workflow
This commit is contained in:
parent
e98439b9ff
commit
8f6c394a21
@ -13,30 +13,30 @@ steps:
|
|||||||
|
|
||||||
markdownlint:
|
markdownlint:
|
||||||
image: quay.io/thegeeklab/markdownlint-cli
|
image: quay.io/thegeeklab/markdownlint-cli
|
||||||
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- markdownlint 'README.md' 'CONTRIBUTING.md'
|
- markdownlint 'README.md' 'CONTRIBUTING.md'
|
||||||
|
|
||||||
spellcheck:
|
spellcheck:
|
||||||
image: quay.io/thegeeklab/alpine-tools
|
image: quay.io/thegeeklab/alpine-tools
|
||||||
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- spellchecker --files '_docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
|
- spellchecker --files '_docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
|
||||||
environment:
|
environment:
|
||||||
FORCE_COLOR: "true"
|
FORCE_COLOR: "true"
|
||||||
NPM_CONFIG_LOGLEVEL: "error"
|
NPM_CONFIG_LOGLEVEL: "error"
|
||||||
|
|
||||||
|
link-validation:
|
||||||
|
image: docker.io/lycheeverse/lychee
|
||||||
|
group: test
|
||||||
|
commands:
|
||||||
|
- lychee --no-progress --format detailed docs/content README.md
|
||||||
|
|
||||||
testbuild:
|
testbuild:
|
||||||
image: quay.io/thegeeklab/hugo:0.115.2
|
image: quay.io/thegeeklab/hugo:0.115.2
|
||||||
commands:
|
commands:
|
||||||
- hugo --panicOnWarning -s docs/ -b http://localhost:8000/
|
- hugo --panicOnWarning -s docs/ -b http://localhost:8000/
|
||||||
|
|
||||||
link-validation:
|
|
||||||
image: quay.io/thegeeklab/link-validator
|
|
||||||
commands:
|
|
||||||
- link-validator --color=always --rate-limit 10
|
|
||||||
environment:
|
|
||||||
LINK_VALIDATOR_BASE_DIR: docs/public
|
|
||||||
LINK_VALIDATOR_RETRIES: "3"
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: quay.io/thegeeklab/hugo:0.115.2
|
image: quay.io/thegeeklab/hugo:0.115.2
|
||||||
commands:
|
commands:
|
||||||
|
Loading…
Reference in New Issue
Block a user