ansible-dev-tools/.woodpecker/docs.yml

60 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2024-08-18 20:06:28 +00:00
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: markdownlint
image: quay.io/thegeeklab/markdownlint-cli
commands:
- markdownlint 'README.md'
- name: spellcheck
image: quay.io/thegeeklab/alpine-tools
commands:
- spellchecker --files '_docs/**/*.md' 'README.md' -d .dictionary -p spell indefinite-article syntax-urls
environment:
FORCE_COLOR: "true"
- name: link-validation
image: docker.io/lycheeverse/lychee
commands:
- lychee --no-progress --format detailed README.md
- name: pushrm-dockerhub
image: docker.io/chko/docker-pushrm:1
2024-10-26 18:56:00 +00:00
depends_on: [markdownlint, spellcheck, link-validation]
2024-08-18 20:06:28 +00:00
environment:
DOCKER_USER:
from_secret: docker_username
DOCKER_PASS:
from_secret: docker_password
PUSHRM_FILE: README.md
2024-08-18 20:56:30 +00:00
PUSHRM_SHORT: Ansible developer tools collection
2024-08-18 20:06:28 +00:00
PUSHRM_TARGET: thegeeklab/${CI_REPO_NAME}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
- name: pushrm-quay
image: docker.io/chko/docker-pushrm:1
2024-10-26 18:56:00 +00:00
depends_on: [markdownlint, spellcheck, link-validation]
2024-08-18 20:06:28 +00:00
environment:
APIKEY__QUAY_IO:
from_secret: quay_token
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${CI_REPO_NAME}
when:
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
status: [success]
depends_on:
- build-package
- build-container