Skip to content

Commit e11f03a

Browse files
committed
Add workflow
1 parent f6ba168 commit e11f03a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Update Documentation
2+
on:
3+
push:
4+
paths:
5+
- '**/defaults/main.yaml'
6+
concurrency:
7+
cancel-in-progress: true
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
defaults:
10+
run:
11+
shell: bash
12+
jobs:
13+
build:
14+
name: Build Documentation
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout Repo
18+
uses: actions/checkout@v4
19+
- name: Install Package
20+
env:
21+
HELM_DOCS_URL: https://github.com/norwoodj/helm-docs/releases/download
22+
HELM_DOCS_VERSION: 1.14.2
23+
run: |
24+
sudo wget -qP /tmp $HELM_DOCS_URL/v${HELM_DOCS_VERSION}/helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.deb
25+
sudo apt-get -y install /tmp/helm-docs_${HELM_DOCS_VERSION}_Linux_x86_64.deb
26+
- name: Refresh Documentation
27+
run: helm-docs
28+
permissions:
29+
contents: read
30+
pull-requests: write

0 commit comments

Comments
 (0)