2024-02-03 21:33:14 +00:00
|
|
|
---
|
|
|
|
when:
|
|
|
|
- event: [pull_request]
|
|
|
|
- event: [push, manual]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: generate
|
|
|
|
image: quay.io/thegeeklab/ansible-doctor
|
|
|
|
environment:
|
|
|
|
ANSIBLE_DOCTOR_EXCLUDE_FILES: molecule/
|
2024-02-03 21:38:15 +00:00
|
|
|
ANSIBLE_DOCTOR_FORCE_OVERWRITE: "true"
|
2024-02-03 21:33:14 +00:00
|
|
|
ANSIBLE_DOCTOR_LOG_LEVEL: INFO
|
2024-02-03 21:38:15 +00:00
|
|
|
ANSIBLE_DOCTOR_ROLE_NAME: ${CI_REPO_NAME}
|
2024-02-03 21:33:14 +00:00
|
|
|
ANSIBLE_DOCTOR_TEMPLATE: readme
|
|
|
|
|
2024-02-04 21:13:38 +00:00
|
|
|
- name: format
|
|
|
|
image: quay.io/thegeeklab/alpine-tools
|
|
|
|
commands:
|
|
|
|
- prettier -w README.md
|
|
|
|
|
2024-02-03 21:33:14 +00:00
|
|
|
- name: diff
|
|
|
|
image: quay.io/thegeeklab/alpine-tools
|
|
|
|
commands:
|
|
|
|
- git diff --color=always README.md
|
|
|
|
|
|
|
|
- name: publish
|
2024-02-03 21:38:15 +00:00
|
|
|
image: quay.io/thegeeklab/wp-git-action
|
2024-02-03 21:33:14 +00:00
|
|
|
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
|