Repository navigation
ci: add docs pages workflow - #31
Merged
Merged
Conversation
Contributor
AI 审查结果审查结论本次 PR 整体质量良好,主要目的是为文档站点添加 GitHub Pages 部署 CI/CD,并调整文档配置以支持子路径部署。未发现严重 bug、安全漏洞或性能问题。但存在几处低严重度的潜在风险与可维护性改进点,建议在合并前修复。 问题列表1. 低严重度:
|
Contributor
Author
Owner
|
妙啊妙啊 |
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.
概述 / Summary
为 VitePress 文档站点新增 GitHub Actions 自动构建与 GitHub Pages 部署流程。PR 会在文档相关变更时校验
docs构建,合并到主分支后自动发布页面。改动点 / Changes
.github/workflows/docs.yml,在 PR 中执行npm ci与npm run build。DOCS_BASE配置,适配 GitHub Pages 项目路径/SpringNote/。截图或录屏 / Screenshots or Recordings
不涉及页面视觉改动。
验证方式 / Verification
flutter analyzeflutter testcargo testinspring_note/rustflutter build windows --releasenpm run buildindocsDOCS_BASE=/SpringNote/ npm run buildindocs检查清单 / Checklist
pubspec.yaml、pubspec.lock、Cargo.toml或Cargo.lock等对应文件。/ If this changes dependencies, I have updated the correct files such aspubspec.yaml,pubspec.lock,Cargo.toml, orCargo.lock.破坏性变更 / Breaking changes