Skip to content

Add governor-api chart #5

Add governor-api chart

Add governor-api chart #5

Workflow file for this run

---
name: Docs
on:
push:
branches:
- main
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
env:
HELM_DOCS_VERSION: 1.11.0
steps:
- uses: actions/checkout@v3
- name: install helm-docs
run: |
cd /tmp
wget https://github.com/norwoodj/helm-docs/releases/download/v${{env.HELM_DOCS_VERSION}}/helm-docs_${{env.HELM_DOCS_VERSION}}_Linux_x86_64.tar.gz
tar -xvf helm-docs_${{env.HELM_DOCS_VERSION}}_Linux_x86_64.tar.gz
sudo mv helm-docs /usr/local/sbin
- name: run helm-docs
run: |
helm-docs -t README.md.gotmpl -o README.md
- name: Fail if there are changes
run: |
git diff --exit-code
if: ${{ github.event_name == 'pull_request' }}