Skip to content

ci: regenerate the Help Center redirections on merge - #29

Merged
otc-zuul-prod[bot] merged 1 commit into
mainfrom
ci/hc-redirections
Dec 2, 2026
Merged

otc-zuul-prod[bot] merged 1 commit into
mainfrom
ci/hc-redirections

Conversation

@vladimirhasko

Copy link
Copy Markdown
Contributor

Adds .github/workflows/hc-redirections.yaml: on every push to main it calls the shared hc-redirections composite action from opentelekomcloud-infra/github-actions, which regenerates this repository's redirect maps for the public Help Center edition from the merged content and opens the pull request in opentelekomcloud-infra/system-config (branch <service>_public_redir_<date>, description filled from system-config's pull request template).

The workflow is the caller only - checkout, credentials, cloning and the generator run live in the action, the same way build-html-docs.yaml calls tox-run-env.

Why this repository qualifies: otc-metadata-rework lists these documents for it in the public/eu_de edition, each imported (disable_import unset) with an hc_location, link and rst_location:

  • taurusdb/api-ref
  • taurusdb/umn

Documents of this repository that do not meet those conditions are skipped by the generator, and a run that changes nothing ends with a ::notice:: instead of a red job.

Secrets, already available org-wide: GITEA_TOKEN (metadata checkout), SYSTEM_CONFIG_APP_ID + SYSTEM_CONFIG_APP_PRIVATE_KEY (fallback SYSTEM_CONFIG_TOKEN).

The first run happens on the next merge to main.

Generated with Hermes Agent (deepseek-v4.1-flash)

Calls the shared hc-redirections composite action after a merge to main.
@github-actions

Copy link
Copy Markdown

📦 PDF Preview-Documentation uploaded to Swift:

@github-actions

Copy link
Copy Markdown

@vladimirhasko vladimirhasko added the gate Merge PR label Dec 2, 2026
@otc-zuul-prod

otc-zuul-prod Bot commented Dec 2, 2026

Copy link
Copy Markdown

@otc-zuul-prod
otc-zuul-prod Bot merged commit 323b9ba into main Dec 2, 2026
4 checks passed
@otc-zuul-prod
otc-zuul-prod Bot deleted the ci/hc-redirections branch December 2, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gate Merge PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants