Add reusable KDoc deploy template to centralize deployment workflow management#1
Draft
Copilot wants to merge 3 commits into
Draft
Add reusable KDoc deploy template to centralize deployment workflow management#1Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…n kdoc-deploy/main-v5 branch)
Copilot
AI
changed the title
[WIP] Create reusable template for API Docs deployment
Add reusable KDoc deploy template to centralize deployment workflow management
Jun 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Managing 22 independent
kdoc-deploy/*branch workflows means every deployment logic change requires 22 separate updates, and the lack of unified concurrency control causes race conditions when multiple branches push togh-pagessimultaneously.Changes
Added:
.github/workflows/deploy-kdoc-template.ymlReusable
workflow_calltemplate ondoc-index(default branch) with:concurrency: group: deploy-to-gh-pages, cancel-in-progress: false— all deployments queue instead of racingpeaceiris/actions-gh-pages@v3logicEach
kdoc-deploy/*branch workflow reduces to:Removed:
.github/workflows/deploy-main-v5-kdoc.ymlfromdoc-indexThis file was misplaced on
doc-indexby a prior agent session. The canonical workflow (with concurrency) already exists onkdoc-deploy/main-v5.Remaining Work (requires repo owner)
The 22
kdoc-deploy/*branches are protected — direct pushes are rejected by repository rules. All 22 per-branch workflow updates are prepared but cannot be applied by this agent. The owner (ForteScarlet) needs to update each branch's existing workflow file to the minimal caller format above. Branch-to-destination_dirmappings:destination_dirkdoc-deploy/maindeploy-main-kdoc.ymlmainkdoc-deploy/main-v4deploy-main-v4-kdoc.ymlmain-v4kdoc-deploy/main-v5deploy-main-v5-kdoc.ymlmain-v5kdoc-deploy/component-kookdeploy-kook-kdoc.ymlcomponents/kookkdoc-deploy/component-kook-v3deploy-kook-kdoc.ymlcomponents/kook-v3kdoc-deploy/component-miraideploy-mirai-kdoc.ymlcomponents/miraikdoc-deploy/component-miyoushe-villadeploy-villa-kdoc.ymlcomponents/miyoushe-villakdoc-deploy/component-onebotdeploy-ob-kdoc.ymlcomponents/onebotkdoc-deploy/component-qq-guilddeploy-qg-kdoc.ymlcomponents/qq-guildkdoc-deploy/component-qq-guild-v3deploy-qg-kdoc.ymlcomponents/qq-guild-v3kdoc-deploy/component-telegramdeploy-tg-kdoc.ymlcomponents/telegramkdoc-deploy/component-tencent-guilddeploy-tcg-kdoc.ymlcomponents/tencent-guildkdoc-deploy/snapshots/maindeploy-main-snapshot-kdoc.ymlsnapshots/mainkdoc-deploy/snapshots/main-v4deploy-main-v4-snapshot-kdoc.ymlsnapshots/main-v4kdoc-deploy/snapshots/component-kookdeploy-kook-snapshot-kdoc.ymlsnapshots/components/kookkdoc-deploy/snapshots/component-kook-v3deploy-kook-snapshot-kdoc.ymlsnapshots/components/kook-v3kdoc-deploy/snapshots/component-miraideploy-mirai-snapshot-kdoc.ymlsnapshots/components/miraikdoc-deploy/snapshots/component-miyoushe-villadeploy-villa-snapshot-kdoc.ymlsnapshots/components/miyoushe-villakdoc-deploy/snapshots/component-onebotdeploy-ob-kdoc.ymlsnapshots/components/onebotkdoc-deploy/snapshots/component-qq-guilddeploy-qg-snapshot-kdoc.ymlsnapshots/components/qq-guildkdoc-deploy/snapshots/component-qq-guild-v3deploy-qg-snapshot-kdoc.ymlsnapshots/components/qq-guild-v3kdoc-deploy/snapshots/component-telegramdeploy-tg-sapshot-kdoc.ymlsnapshots/components/telegramkdoc-deploy/component-qq-guild-v4andkdoc-deploy/snapshots/component-qq-guild-v4have no workflows and are left unchanged.