Skip to content

Commit

Permalink
Merge pull request #904 from rabbitmq/fix-api-ref-workflow
Browse files Browse the repository at this point in the history
Update API reference and Build/Publish workflows

[skip ci]
  • Loading branch information
Zerpet authored Nov 5, 2024
2 parents 34f20c5 + 8d0cc5e commit a965813
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ jobs:
kustomize edit set image \
rabbitmqoperator/messaging-topology-operator-dev=rabbitmqoperator/messaging-topology-operator:"${RELEASE_VERSION}"
popd
make generate-manifests
echo -n "messaging-topology-operator-with-certmanager-${{ steps.meta.outputs.version }}.yaml" > "latest-topology-operator-dev-manifest.txt"
- name: Upload operator manifests
uses: actions/upload-artifact@v4
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/publish-versioned-api-ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ jobs:
repository: ${{ github.repository }}.wiki
path: wiki

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

- name: Push to wiki
# User and email as documented here: https://github.com/marketplace/actions/checkout#push-a-commit-using-the-built-in-token
run: |
cd wiki
git config --local user.email "github-actions@github.com"
git config --local user.name "github-actions"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
# Add the versioned API Reference to the Wiki
cp ../messaging-topology-operator/docs/api/rabbitmq.com.ref.asciidoc ./API_Reference_${{ steps.get_version.outputs.VERSION }}.asciidoc
# Regenerate the ordered list of API Reference docs for the sidebar
Expand Down

0 comments on commit a965813

Please sign in to comment.