forked from rook/rook
docs: auto generate helm chart docs using helm-docs
Signed-off-by: Zuhair AlSader <zuhair@koor.tech>
This commit is contained in:
@@ -33,6 +33,15 @@ jobs:
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Run helm-docs
|
||||
run: |
|
||||
make helm-docs
|
||||
DIFF=$(git diff)
|
||||
if [ ! -z "$DIFF" ]; then
|
||||
echo "Please run 'make helm-docs' locally, commit the updated docs, and push the change. See https://rook.io/docs/rook/latest/Contributing/documentation/#running-helm-docs"
|
||||
fi
|
||||
git diff --exit-code
|
||||
|
||||
- name: Install mkdocs and dependencies
|
||||
run: cd build/release/ && make deps.docs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user