Skip to content

Commit 1dd9943

Browse files
committed
adding new chart doc gen workflow
1 parent 56aee0f commit 1dd9943

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/chart_workflow.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Lint, Test and Deploy Charts
22
on:
33
push:
4-
pull_request:
54

65
jobs:
76
lint-test:

.github/workflows/verify_readme.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Verify Chart Documentation
2+
on:
3+
push:
4+
5+
jobs:
6+
verify-docs:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repository
11+
uses: actions/checkout@v3
12+
- name: Install Golang
13+
uses: actions/setup-go@v5
14+
with:
15+
go-version: 'stable'
16+
- name: install chart-doc-gen
17+
run: go install kubepack.dev/chart-doc-gen@latest
18+
- name: Set up dependencies
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get install -y make
22+
# Install chart-doc-gen or add additional commands as needed
23+
24+
- name: Generate Documentation
25+
run: make gen
26+
27+
- name: Verify Documentation
28+
run: make verify

0 commit comments

Comments
 (0)