Move cron to a CronJob, queue to a DaemonSet, and add a volume for container nginx files #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Helm docs | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
name: Helm docs | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run helm-docs | |
uses: losisin/helm-docs-github-action@v1 | |
- name: Check if there is any file update needed | |
run: | | |
status=$(git status --porcelain) | |
if [ -n "$status" ]; then | |
echo -e "Waiting modifications:\n$status" | |
echo "::error::Changes waiting. Please run 'helm-docs' prior to your next commit." | |
exit -1 | |
fi |