2
0
mirror of https://github.com/nofusscomputing/kubernetes.git synced 2025-08-02 04:22:42 +00:00

ci: Add initial CI for docs

ref: #5 #2 #3
This commit is contained in:
2025-06-12 00:55:36 +09:30
parent 8a705abb41
commit d47af9076a
2 changed files with 43 additions and 17 deletions

View File

@ -1,26 +1,24 @@
--- ---
name: Pull Requests name: 'CI'
on: on:
pull_request: {} push:
branches:
- '**'
tags:
- '*'
jobs: jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install yamllint mkdocs:
run: pip install yamllint name: 'MKDocs'
permissions:
- name: Lint YAML files pull-requests: write
run: yamllint ${PWD}/ contents: write
statuses: write
checks: write
pull-request: actions: write
name: pull-request uses: nofusscomputing/action_mkdocs/.github/workflows/reusable_mkdocs.yaml@development
uses: nofusscomputing/action_pull_requests/.github/workflows/pull-requests.yaml@development

28
mkdocs.yml Normal file
View File

@ -0,0 +1,28 @@
INHERIT: website-template/mkdocs.yml
docs_dir: "docs"
repo_name: Kubernetes
repo_url: https://github.com/nofusscomputing/kubernetes
edit_uri: "/edit/development/docs/"
theme:
icon:
repo: fontawesome/brands/github
nav:
- Home: index.md
- Articles:
- articles/index.md
- Projects:
- projects/index.md
- Kustomize:
- projects/kustomize/index.md
- Operations:
- operations/index.md
- Contact Us: contact.md