0
0
mirror of https://github.com/thegeeklab/woodpecker-plugins.git synced 2024-06-02 18:19:41 +02:00
woodpecker-plugins/.woodpecker/docs.yml

70 lines
1.6 KiB
YAML
Raw Normal View History

---
when:
- event: [pull_request, tag]
2023-11-01 10:40:24 +01:00
- event: [push, manual, cron]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
2023-12-22 12:51:22 +01:00
- name: assets
image: quay.io/thegeeklab/alpine-tools
commands:
- make doc
2023-12-22 12:51:22 +01:00
- name: sync
image: quay.io/thegeeklab/git-batch
commands:
- git-batch
2023-12-22 12:51:22 +01:00
- name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli
2023-12-22 12:51:22 +01:00
group: test
commands:
2023-08-29 08:53:42 +02:00
- markdownlint 'content/**/*.md' 'README.md' 'CONTRIBUTING.md'
2023-12-22 12:51:22 +01:00
- name: spellcheck
image: quay.io/thegeeklab/alpine-tools
2023-12-22 12:51:22 +01:00
group: test
commands:
2023-12-22 12:51:22 +01:00
- spellchecker --files 'content/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
environment:
FORCE_COLOR: "true"
2023-12-22 12:51:22 +01:00
- name: link-validation
image: docker.io/lycheeverse/lychee
group: test
commands:
2023-12-22 12:51:22 +01:00
- lychee --no-progress --format detailed content/ README.md
2023-12-22 12:51:22 +01:00
- name: build
image: quay.io/thegeeklab/hugo:0.125.7
commands:
- hugo --panicOnWarning
2023-12-22 12:51:22 +01:00
- name: beautify
image: quay.io/thegeeklab/alpine-tools
commands:
- html-beautify -r -f 'public/**/*.html'
2023-12-22 12:51:22 +01:00
- name: publish
image: quay.io/thegeeklab/wp-s3-action
settings:
access_key:
from_secret: s3_access_key
bucket: geekdocs
delete: true
2023-09-26 23:17:30 +02:00
endpoint:
from_secret: s3_endpoint
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: public/
strip_prefix: public/
target: /${CI_REPO_NAME}
when:
- event: [tag]
2023-11-01 10:40:24 +01:00
- event: [push, manual, cron]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
2023-12-22 12:51:22 +01:00
status: [success, failure]