Skip to content

MG-143 - auto-generate Markdown documentation from Helm charts #11

MG-143 - auto-generate Markdown documentation from Helm charts

MG-143 - auto-generate Markdown documentation from Helm charts #11

Workflow file for this run

# Copyright (c) Magistrala
# SPDX-License-Identifier: Apache-2.0
name: Generate Helm Docs
on:
pull_request:
branches:
- '*'
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
- name: Generate Helm Docs
uses: losisin/[email protected]
with:
chart-search-root: "charts/magistrala"
values-file: "values.yaml"
output-file: "README.md"
template-files: "README.md.gotmpl"
git-push: false
fail-on-diff: true