feat: 移除 Docker 部署,添加 Gitea CI/CD + PM2 手动部署 #30

Merged
wangziqi merged 2 commits from worktree-ci-cd-pm2-deploy into main 2026-07-20 07:46:19 +00:00
Owner

移除 Docker 部署文件,新增 Gitea Actions workflow:手动触发 PM2 部署 + PR 自动 CI 检查

移除 Docker 部署文件,新增 Gitea Actions workflow:手动触发 PM2 部署 + PR 自动 CI 检查
wangziqi added 2 commits 2026-07-20 07:44:42 +00:00
- 删除 docker-compose.yml、Dockerfile、.dockerignore、docker/ 目录
- 更新 deploy.sh:移除 Docker Compose MySQL 启动,改为 systemd 检查
- 新增 .gitea/workflows/deploy.yml:手动触发、rsync + SSH + PM2 部署
- 新增 .gitea/workflows/ci.yml:PR lint + typecheck + test 自动检查
refactor: 精简部署流程,移除 MySQL 管理
Some checks failed
CI 检查 / lint (pull_request) Has been cancelled
CI 检查 / typecheck (pull_request) Has been cancelled
CI 检查 / test (pull_request) Has been cancelled
151ef06ec2
MySQL 已在服务器运行,部署只需三步:
1. 本地构建 → rsync 同步
2. npm ci(首次)+ migration:run
3. pm2 startOrReload
wangziqi merged commit b32dc33e8b into main 2026-07-20 07:46:19 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangziqi/gongxue-base#30
No description provided.