Repository navigation
[codex] 自动化网站部署与 npm 发布 - #23
Merged
Merged
Conversation
liguochuan00
marked this pull request as ready for review
August 7, 2026 04:15
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.
变更内容
main推送时运行 Node.js 18/20/22 CLI 测试、npm 打包检查和 Astro 构建main构建website/dist,通过官方 Pages artifact 发布gh-pages写入脚本,避免手工部署覆盖 Astro 网站安全边界
main推送时发布NPM_TOKENpackage.json版本maingithub-pagesconcurrency,避免并发覆盖验证
npm testnpm run pack:checknpm run build(website/,20 个页面)scripts/sync-gh-pages.shShell 语法检查通过git diff --check合并后设置
@double-coding/flow2spec配置 GitHub Actions Trusted Publisher:double-coding-lab/Flow2Spec+publish-npm.yml