Skip to content

Commit a965813

Browse files
authored
Merge pull request #904 from rabbitmq/fix-api-ref-workflow
Update API reference and Build/Publish workflows [skip ci]
2 parents 34f20c5 + 8d0cc5e commit a965813

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build-test-publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ jobs:
138138
kustomize edit set image \
139139
rabbitmqoperator/messaging-topology-operator-dev=rabbitmqoperator/messaging-topology-operator:"${RELEASE_VERSION}"
140140
popd
141-
make generate-manifests
142-
echo -n "messaging-topology-operator-with-certmanager-${{ steps.meta.outputs.version }}.yaml" > "latest-topology-operator-dev-manifest.txt"
143141
144142
- name: Upload operator manifests
145143
uses: actions/upload-artifact@v4

.github/workflows/publish-versioned-api-ref.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,15 @@ jobs:
2626
repository: ${{ github.repository }}.wiki
2727
path: wiki
2828

29+
- name: Generate API reference
30+
run: make -C messaging-topology-operator api-reference
31+
2932
- name: Push to wiki
33+
# User and email as documented here: https://github.com/marketplace/actions/checkout#push-a-commit-using-the-built-in-token
3034
run: |
3135
cd wiki
32-
git config --local user.email "github-actions@github.com"
33-
git config --local user.name "github-actions"
36+
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
37+
git config --local user.name "github-actions[bot]"
3438
# Add the versioned API Reference to the Wiki
3539
cp ../messaging-topology-operator/docs/api/rabbitmq.com.ref.asciidoc ./API_Reference_${{ steps.get_version.outputs.VERSION }}.asciidoc
3640
# Regenerate the ordered list of API Reference docs for the sidebar

0 commit comments

Comments
 (0)