Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/publish-versioned-api-ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
repository: ${{ github.repository }}.wiki
path: wiki

- uses: actions/setup-go@v5
name: Install Go
with:
go-version-file: messaging-topology-operator/go.mod

- name: Generate API reference
run: make -C messaging-topology-operator api-reference

Expand All @@ -42,4 +47,5 @@ jobs:
echo "$REGENERATED_SIDEBAR" > Wiki_Sidebar.md
git add ./API_Reference_${{ steps.get_version.outputs.VERSION }}.asciidoc
git add ./Wiki_Sidebar.md
git commit -m "Publish version ${{ steps.get_version.outputs.VERSION }} API Reference" && git push
git commit -m "Publish version ${{ steps.get_version.outputs.VERSION }} API Reference"
git push
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ manifests: install-tools

# Generate API reference documentation
.PHONY: api-reference
api-reference:
api-reference: install-tools
crd-ref-docs \
--source-path ./api \
--config ./docs/api/autogen/config.yaml \
Expand Down
Loading