coolxitech
|
4340450d78
|
chore(ci): 优化 GitHub Pages 部署工作流
- 合并 pnpm 安装与构建步骤
- 移除冗余的 node-version 配置
- 简化工作流中的缓存逻辑
- 更新 pnpm 版本管理方式
- 减少不必要的 workflow 执行时间
|
2025-12-15 22:07:23 +08:00 |
|
coolxitech
|
2bac87cd39
|
chore(ci): 更新 pnpm 版本至 v10
- 将 GitHub Actions 中的 pnpm 版本从 v9 升级到 v10
- 保持缓存配置不变以提高构建性能
|
2025-12-15 22:04:28 +08:00 |
|
酷曦科技
|
84b090d51d
|
Update .github/workflows/github-pages.yml
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
|
2025-12-15 22:02:29 +08:00 |
|
coolxitech
|
a592713623
|
chore(github-pages): 配置 GitHub Pages 环境变量
- 添加 environment 字段以指定部署环境
- 设置页面 URL 输出变量以便后续使用
- 确保工作流能够正确识别和部署到 GitHub Pages
|
2025-12-15 21:52:32 +08:00 |
|
coolxitech
|
ec6b9cee07
|
chore(pages): 更新 GitHub Pages 部署工作流
- 添加 permissions 配置以支持 GitHub Pages 部署
- 使用 actions/setup-node 安装 Node.js 环境
- 添加缓存配置以加速依赖安装
- 使用 actions/configure-pages 跳过 Jekyll 处理
- 使用 actions/upload-pages-artifact 上传构建产物
- 使用 actions/deploy-pages 部署到 GitHub Pages
- 更新构建命令以确保正确执行
- 修改路径配置以匹配项目结构
|
2025-12-15 21:47:08 +08:00 |
|
coolxitech
|
751cb1e341
|
ci(github-actions): 添加 GitHub Pages 部署工作流
- 新增部署到 GitHub Pages 的自动化流程
- 配置在 main 分支推送时触发构建和部署
- 使用 pnpm 进行依赖安装与项目构建
- 通过 github-pages-deploy-action 推送构建产物至 gh-pages 分支
- 指定 docs 目录作为部署源文件夹
|
2025-12-15 21:32:46 +08:00 |
|