Housekeeping workflow rework (#771)

* remove the chart version from readme template

* only (re)generate docs once a day or on demand, not on every change

* simplify workflow a bit

* streamline docs generation some more

* integrate helm-docs generation into to workflow

* Turn it into a single daily housekeeping job

* always include index.yaml when deploying docs...
This commit is contained in:
Kjeld Schouten-Lebbing
2021-08-16 15:27:42 +02:00
committed by GitHub
parent 6f67b52081
commit d83d9f2e18
5 changed files with 186 additions and 186 deletions

View File

@@ -7,6 +7,7 @@ on:
paths:
- 'docs/**'
- '.github/workflows/docs.deploy.yaml'
- 'index.yaml'
- 'mkdocs.yml'
jobs:
@@ -19,6 +20,10 @@ jobs:
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Copy index.yaml to website
run: |
yes | cp -rf index.yaml docs/index.yaml || echo "chart-index copy failed, continuing..."
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env: