0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-15 05:40:40 +00:00
wp-git-clone/.woodpecker/docs.yml

81 lines
2.0 KiB
YAML
Raw Normal View History

2023-12-22 23:59:23 +00:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli
group: test
commands:
- markdownlint 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
image: quay.io/thegeeklab/alpine-tools
group: test
commands:
2023-12-23 00:38:07 +00:00
- spellchecker --files 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
2023-12-22 23:59:23 +00:00
environment:
FORCE_COLOR: "true"
- name: link-validation
image: docker.io/lycheeverse/lychee
group: test
commands:
2023-12-23 00:38:07 +00:00
- lychee --no-progress --format detailed docs/content README.md
2023-12-22 23:59:23 +00:00
- name: publish
image: quay.io/thegeeklab/wp-git-action
settings:
action:
- pages
author_email: bot@thegeeklab.de
author_name: thegeeklab-bot
branch: docs
message: "[skip ci] auto-update documentation"
netrc_password:
from_secret: github_token
2023-12-23 00:38:07 +00:00
pages_directory: docs/
2023-12-22 23:59:23 +00:00
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
2023-12-23 00:45:52 +00:00
status: [success, failure]
2023-12-22 23:59:23 +00:00
- name: pushrm-dockerhub
image: docker.io/chko/docker-pushrm:1
secrets:
- source: docker_password
target: DOCKER_PASS
- source: docker_username
target: DOCKER_USER
environment:
PUSHRM_FILE: README.md
PUSHRM_SHORT: Woodpecker CI plugin to clone git repositories
PUSHRM_TARGET: ${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
2023-12-23 00:45:52 +00:00
status: [success]
2023-12-22 23:59:23 +00:00
- name: pushrm-quay
image: docker.io/chko/docker-pushrm:1
secrets:
- source: quay_token
target: APIKEY__QUAY_IO
environment:
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
depends_on:
- build-package
- build-container