CI: Simplify "Generate reference docs" step

This commit is contained in:
Nils Hanke 2022-09-09 11:19:28 +02:00 committed by Nils Hanke
parent 9a560847f7
commit 56accc7766

View File

@ -22,11 +22,8 @@ jobs:
go-version: 1.18 go-version: 1.18
- name: Generate reference docs - name: Generate reference docs
run: | run: go run . | cat header.md - > ../../cli.md
cd hack/clidocgen working-directory: hack/clidocgen
go build .
./clidocgen > content.md
cat header.md content.md > ../../cli.md
- name: Get commit sha - name: Get commit sha
run: | run: |