Commit Graph
4 Commits
Author SHA1 Message Date
xuyueandClaude Opus 5.5 aadb2c9e93 Bun 升级到 1.4.4(Docker 镜像和 CI)
CI/CD / test (push) Canceled after 0s
CI/CD / deploy (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 18:27:17 +08:00
xuyueandClaude Opus 5.5 91237b85b8 CI:升级 actions/checkout 到 v7、actions/setup-dotnet 到 v6(Node.js 24)
CI/CD / test (push) Canceled after 0s
CI/CD / deploy (push) Canceled after 0s
消除"Node.js 20 is deprecated"警告。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 20:01:29 +08:00
xuyueandClaude Opus 5.5 a00622be15 部署改为在服务器上构建:Actions 测试通过后 SSH 执行 deploy/update.sh
CI/CD / test (push) Canceled after 0s
CI/CD / deploy (push) Canceled after 0s
跨境上传 130 MB 镜像 40 分钟没传完。改为服务器从 origin(git.xuyue.cc)拉代码、
构建镜像、重启,等编译服务就绪;提交还没到 origin 时等待重试。
部署任务加 20 分钟超时,SSH 认证失败立即报错。去掉 deploy/deploy.sh。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 16:41:50 +08:00
xuyueandClaude Opus 5.5 1cb2235c3d GitHub Actions:测试和自动部署
CI/CD / test (push) Canceled after 0s
CI/CD / deploy (push) Canceled after 0s
- 每次推送和 PR:编译 C# 运行时,跑服务端测试(含 bubblewrap 沙箱)、网页端测试和类型检查
- 推送到 main 且测试通过:带缓存构建镜像,经 SSH 传到服务器并重启;Secrets 未配置时跳过部署
- 只在 github.com 上运行,git.xuyue.cc 上跳过
- deploy.sh:SKIP_BUILD 跳过构建;启动后等编译服务就绪,沙箱自检失败时部署失败;
  服务器目录默认 ~/IOT_SIM

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 15:56:09 +08:00