2024-02-18 11:42:08 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
- event: [pull_request]
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: generate
|
|
|
|
image: quay.io/thegeeklab/ansible-doctor
|
|
|
|
environment:
|
2024-08-19 14:06:10 +00:00
|
|
|
ANSIBLE_DOCTOR_EXCLUDE_FILES: "['molecule/']"
|
|
|
|
ANSIBLE_DOCTOR_RENDERER__FORCE_OVERWRITE: "true"
|
|
|
|
ANSIBLE_DOCTOR_LOGGING__LEVEL: info
|
|
|
|
ANSIBLE_DOCTOR_ROLE__NAME: ${CI_REPO_NAME}
|
|
|
|
ANSIBLE_DOCTOR_TEMPLATE__NAME: readme
|
2024-02-18 11:42:08 +00:00
|
|
|
|
|
|
|
- name: format
|
|
|
|
image: quay.io/thegeeklab/alpine-tools
|
|
|
|
commands:
|
|
|
|
- prettier -w README.md
|
|
|
|
|
|
|
|
- name: diff
|
|
|
|
image: quay.io/thegeeklab/alpine-tools
|
|
|
|
commands:
|
|
|
|
- git diff --color=always README.md
|
|
|
|
|
|
|
|
- name: publish
|
|
|
|
image: quay.io/thegeeklab/wp-git-action
|
|
|
|
settings:
|
|
|
|
action:
|
|
|
|
- commit
|
|
|
|
- push
|
|
|
|
author_email: ci-bot@rknet.org
|
|
|
|
author_name: ci-bot
|
|
|
|
branch: main
|
|
|
|
message: "[skip ci] automated docs update"
|
|
|
|
netrc_machine: gitea.rknet.org
|
|
|
|
netrc_password:
|
|
|
|
from_secret: gitea_token
|
|
|
|
when:
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- test
|