From d47af9076a468fbb6e765dc4dc7d92b6093e7cb4 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 12 Jun 2025 00:55:36 +0930 Subject: [PATCH] ci: Add initial CI for docs ref: #5 #2 #3 --- .github/workflows/ci.yaml | 32 +++++++++++++++----------------- mkdocs.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 17 deletions(-) create mode 100644 mkdocs.yml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f3ff358..899224e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,26 +1,24 @@ --- -name: Pull Requests +name: 'CI' on: - pull_request: {} - + push: + branches: + - '**' + tags: + - '*' jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Install yamllint - run: pip install yamllint - - - name: Lint YAML files - run: yamllint ${PWD}/ - - - pull-request: - name: pull-request - uses: nofusscomputing/action_pull_requests/.github/workflows/pull-requests.yaml@development + mkdocs: + name: 'MKDocs' + permissions: + pull-requests: write + contents: write + statuses: write + checks: write + actions: write + uses: nofusscomputing/action_mkdocs/.github/workflows/reusable_mkdocs.yaml@development diff --git a/mkdocs.yml b/mkdocs.yml new file mode 100644 index 0000000..6c2cebf --- /dev/null +++ b/mkdocs.yml @@ -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