ci: 添加 Epic UI 构建和部署工作流

- 新增 CI/CD 工作流文件,实现前端项目的自动构建和部署
- 支持 main、master 和 develop 分支的自动构建- 包含代码检出、环境安装、依赖管理、项目构建等步骤
- 实现构建产物的自动部署和 Docker 容器重启
This commit is contained in:
hu xiaotong
2025-07-08 13:20:47 +08:00
parent 72013fe803
commit 23bef2484e
2 changed files with 35 additions and 3 deletions

View File

@@ -122,6 +122,20 @@ chmod +x scripts/setup-cache-directory.sh
sudo ./scripts/setup-cache-directory.sh
```
### 修复Runner挂载问题
如果遇到Runner容器挂载问题运行以下命令
```bash
# 检查Runner状态
chmod +x scripts/check-runner.sh
./scripts/check-runner.sh
# 修复挂载问题
chmod +x scripts/fix-runner-mount.sh
sudo ./scripts/fix-runner-mount.sh
```
### 性能优化建议
1. **使用国内镜像源**: 配置 `.npmrc` 使用 npmmirror.com