thegeeklab/.woodpecker/docs.yml
Robert Kaussow aa76932e68
Some checks failed
ci/woodpecker/manual/docs Pipeline failed
ci/woodpecker/manual/notify Pipeline was successful
fix ci config
2023-12-15 10:33:36 +01:00

71 lines
1.6 KiB
YAML

---
when:
- event: [pull_request, tag]
- event: [push, manual, cron]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
assets:
image: quay.io/thegeeklab/alpine-tools
commands:
- make doc
markdownlint:
image: quay.io/thegeeklab/markdownlint-cli
group: test
commands:
- markdownlint 'content/**/*.md' 'README.md'
spellcheck:
image: quay.io/thegeeklab/alpine-tools
group: test
commands:
- spellchecker --files 'content/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
environment:
FORCE_COLOR: "true"
link-validation:
image: docker.io/lycheeverse/lychee
group: test
commands:
- lychee --no-progress --format detailed content/ README.md
favicons:
image: docker.io/node:lts-alpine
commands:
- npm install --quiet --no-progress
- npm run build
environment:
FORCE_COLOR: "true"
build:
image: quay.io/thegeeklab/hugo:0.115.2
commands:
- hugo --panicOnWarning
beautify:
image: quay.io/thegeeklab/alpine-tools
commands:
- html-beautify -r -f 'public/**/*.html'
publish:
image: quay.io/thegeeklab/wp-s3-action
settings:
access_key:
from_secret: s3_access_key
bucket: thegeeklab-root
delete: true
endpoint:
from_secret: s3_endpoint
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: public/
strip_prefix: public/
when:
- event: [tag]
- event: [push, manual, cron]
branch:
- ${CI_REPO_DEFAULT_BRANCH}