Files
resume/README.md
T
wonder eb26b87400
Deploy Resume / deploy (push) Failing after 5m57s
feat: 纯文本简历按版本拆分并新增 /txt 选择页
- resume/index.txt 与 soe/index.txt 分别对应主简历与央国企简历纯文本
- /txt 改为选择页,/txt/resume 与 /txt/soe 提供对应纯文本
- 删除过时的根目录 resume.txt,Dockerfile 与 README 同步更新

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-07 20:37:22 +08:00

61 lines
2.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 何朝晖 - 简历项目
在线简历部署项目,支持多岗位简历,使用 Docker + Nginx 部署,Gitea Actions 自动化 CI/CD。
## 目录结构
```
resume/
├── .gitea/workflows/deploy.yml # Gitea Actions CI/CD 配置
├── Dockerfile # Docker 构建文件
├── nginx.conf # Nginx 路由配置
├── css/
│ └── resume.css # 全局样式(所有简历共享)
├── img/ # 公共图片资源(所有简历共享)
├── txt/
│ └── index.html # 纯文本简历选择页 → /txt
├── resume/
│ ├── index.html # 主简历 → /resume
│ └── index.txt # 主简历纯文本 → /txt/resume
├── soe/
│ ├── index.html # 央国企简历 → /soe
│ ├── index.txt # 央国企简历纯文本 → /txt/soe
│ └── resume.css # 央国企简历样式
└── other/
├── index.html # 导航页 → /other
├── infra-engineer/
│ └── index.html # 基础架构工程师简历 → /other/infra-engineer
└── security-engineer/
└── index.html # 网络安全工程师简历 → /other/security-engineer
```
## 访问地址
| 页面 | 地址 |
|------|------|
| 主简历 | http://47.121.181.112:8080/resume |
| 央国企简历 | http://47.121.181.112:8080/soe |
| 纯文本简历选择页 | http://47.121.181.112:8080/txt |
| 主简历纯文本 | http://47.121.181.112:8080/txt/resume |
| 央国企简历纯文本 | http://47.121.181.112:8080/txt/soe |
| 导航页 | http://47.121.181.112:8080/other/ |
| 基础架构工程师 | http://47.121.181.112:8080/other/infra-engineer/ |
| 网络安全工程师 | http://47.121.181.112:8080/other/security-engineer/ |
## 添加新岗位简历
1. 在 `other/` 下新建目录,如 `other/frontend-dev/`
2. 复制任意一份已有简历作为模板
3. 修改目标职位、技术栈标签、线上简历链接等
4. 更新 `other/index.html` 导航页,添加新简历链接
5. 更新 `nginx.conf`,添加对应的 location 块
6. 推送到 main 分支,自动部署
## 部署方式
推送到 `main` 分支后,Gitea Actions 自动执行:
1. 克隆仓库
2. 构建 Docker 镜像(nginx:alpine)
3. 停止旧容器,启动新容器
4. 映射端口 8080 → 80