Repository navigation
chore(ci): 部署前探测 github.com 出口并加超时 - #52
Merged
Merged
Conversation
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.
问题
runner 到 github.com 偶发断连时,Deploy 的 checkout 会长时间重试(本仓原有两次 15 分钟超时),一次网络故障白跑半小时且最终失败。
改动
timeout-minutes: 30兜底。concurrency: deploy-main(串行、不取消进行中的部署,避免留下半套 gh-pages 产物)。不改构建、部署逻辑本身。
验证
rdk_s_doc 已用同一改动完成验证(#149 合入后 Deploy 探测步通过、构建部署成功)。本仓合入后 Deploy 会跑一次,可在 Actions 里确认探测步与后续构建正常。
🤖 Generated with Claude Code