build: Generate CLI docs in GHA (#236)

* build: Generate CLI docs in GHA
* fix: Move no-tty logic outside cobra definitions
This commit is contained in:
Anton Ovchinnikov
2026-01-02 10:23:42 +10:00
committed by GitHub
parent 9a1d2e0d46
commit 5e0d4d0f05
2 changed files with 12 additions and 1 deletions
+6
View File
@@ -36,6 +36,12 @@ jobs:
git diff --exit-code ||
(echo "go.mod or go.sum has changed. Please run 'go mod tidy' and commit the changes." && exit 1)
- name: Generate docs
run: |
make cli-docs
git diff --exit-code ||
(echo "Documentation is out of date. Please run 'make cli-docs' and commit the changes." && exit 1)
- name: Run tests
run: |
make ucind-image