build(www): 添加 Drone CI 流水线配置

- 新增 .drone.yml 文件用于定义 CI/CD 流程
- 配置了基于 Docker 的部署步骤
- 设置了工作区和卷映射以支持持久化数据
- 添加了构建准备阶段和 Docker 部署阶段
- 定义了环境变量和代理设置
- 配置了 artifacts 目录的处理逻辑
- 添加了 timezone 映射以确保时间同步
- 设置了 docker.sock 映射以支持 Docker in Docker
This commit is contained in:
2025-11-01 13:36:00 +08:00
commit 22e48d9558
272 changed files with 44007 additions and 0 deletions

81
.vuepress/config.js Normal file
View File

@@ -0,0 +1,81 @@
module.exports = {
"title": "ZhuHJay Blog",
"description": "my blog",
"dest": "public",
"head": [
[
"link",
{
"rel": "icon",
"href": "/favicon.ico"
}
],
[
"meta",
{
"name": "viewport",
"content": "width=device-width,initial-scale=1,user-scalable=no"
}
]
],
"theme": "reco",
"themeConfig": {
"nav": [
{
"text": "首页",
"link": "/",
"icon": "reco-home"
},
{
"text": "码云",
"icon": "reco-mayun",
"link": "https://gitee.com/ZhuHJay"
}
],
"sidebar": {
"/blogs/java/java8/": [
"java8-1",
"java8-2",
"java8-3",
"java8-4"
],
"/blogs/java/jvm/": [
"JVM-内存结构",
"JVM-垃圾回收",
"JVM-字节码技术",
"JVM-类加载",
]
},
"type": "blog",
"blogConfig": {
"category": {
"location": 2,
"text": "分类"
},
"tag": {
"location": 3,
"text": "标签"
}
},
"friendLink": [],
"logo": "/logo.png",
"search": true,
"searchMaxSuggestions": 10,
"lastUpdated": "Last Updated",
"author": "ZhuHJay",
"authorAvatar": "/avatar.png",
"record": "赣ICP备2021010698号-3",
"recordLink": 'https://beian.miit.gov.cn',
"cyberSecurityRecord": '闽公网安备35021202000841号',
"cyberSecurityLink": 'https://beian.mps.gov.cn/#/query/webSearch?code=35021202000841',
"startYear": "2021"
},
"markdown": {
"lineNumbers": true
},
"locales": {
'/': {
"lang": 'zh-CN'
}
}
}