Skip to content

Fix OpenAPI docs publishing pipeline not triggering Pages deploy - #5381

Merged
sethboyles merged 1 commit into
mainfrom
fix-openapi-publish-5373
Sep 14, 2026
Merged

sethboyles merged 1 commit into
mainfrom
fix-openapi-publish-5373

Conversation

@sethboyles

Copy link
Copy Markdown
Member

Commits pushed to gh-pages using the default GITHUB_TOKEN don't trigger other workflows, so "Deploy V3 API Docs to Pages" never ran after "Deploy CF API V3 OpenAPI Documentation" pushed updated docs. workflow_dispatch is exempt from that restriction, so explicitly dispatch the Pages deploy workflow via the API after a successful push.

Fixes #5373

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:

  • An explanation of the use cases your change solves

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

Commits pushed to gh-pages using the default GITHUB_TOKEN don't
trigger other workflows, so "Deploy V3 API Docs to Pages" never ran
after "Deploy CF API V3 OpenAPI Documentation" pushed updated docs.
workflow_dispatch is exempt from that restriction, so explicitly
dispatch the Pages deploy workflow via the API after a successful
push.

Fixes #5373

[ai-assisted=yes]
@sethboyles
sethboyles force-pushed the fix-openapi-publish-5373 branch from 35478a8 to fe766e2 Compare August 17, 2026 17:57
@sethboyles
sethboyles requested a review from stephanme September 4, 2026 16:38
@sethboyles
sethboyles merged commit 6394180 into main Sep 14, 2026
11 of 13 checks passed
@moleske
moleske deleted the fix-openapi-publish-5373 branch September 14, 2026 21:59
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Sep 14, 2026
Changes in cloud_controller_ng:

- Fix OpenAPI docs publishing pipeline not triggering Pages deploy
    PR: cloudfoundry/cloud_controller_ng#5381
    Author: Seth Boyles <seth.boyles@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CF API openapi spec is not published automatically

2 participants