mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-25 23:06:08 -05:00
CI: Simplify "Generate reference docs" step
This commit is contained in:
parent
9a560847f7
commit
56accc7766
7
.github/workflows/update-cli-reference.yml
vendored
7
.github/workflows/update-cli-reference.yml
vendored
@ -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: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user