git-batch/.woodpecker/docs.yml

64 lines
1.6 KiB
YAML
Raw Normal View History

2023-08-22 21:49:57 +02:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
2024-02-09 23:08:33 +01:00
- renovate/auto/*
2023-08-22 21:49:57 +02:00
steps:
- name: markdownlint
2023-08-22 21:49:57 +02:00
image: quay.io/thegeeklab/markdownlint-cli
group: test
2023-08-22 21:49:57 +02:00
commands:
- markdownlint 'README.md' 'CONTRIBUTING.md'
- name: spellcheck
2023-08-22 21:49:57 +02:00
image: quay.io/thegeeklab/alpine-tools
group: test
2023-08-22 21:49:57 +02:00
commands:
- spellchecker --files 'docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
2023-08-22 21:49:57 +02:00
environment:
FORCE_COLOR: "true"
- name: link-validation
image: docker.io/lycheeverse/lychee
group: test
commands:
- lychee --no-progress --format detailed README.md
- name: pushrm-dockerhub
2023-08-22 21:49:57 +02:00
image: docker.io/chko/docker-pushrm:1
secrets:
- source: docker_password
2023-12-17 14:08:02 +01:00
target: DOCKER_PASS
2023-08-22 21:49:57 +02:00
- source: docker_username
2023-12-17 14:08:02 +01:00
target: DOCKER_USER
2023-08-22 21:49:57 +02:00
environment:
PUSHRM_FILE: README.md
PUSHRM_SHORT: Automate cloning a single branch from a list of repositories
PUSHRM_TARGET: ${CI_REPO}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
- name: pushrm-quay
2023-08-22 21:49:57 +02:00
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