feat: 自动部署 + android 每次提交触发
- docker-build.yml: main 分支推送 → 构建 OTA 包 → Docker 镜像 → :3002 自动部署 - Dockerfile: node:22-alpine, dist + server + ota-package, healthcheck - android-build.yml: 触发改为 on push (所有分支), 每次提交都构建 - ota-package/README.md 占位, 本地 docker build 不报错 - .gitignore / .dockerignore 调整
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# Docker build context 排除项 (镜像内自行构建 dist, 不需要本地构建产物/依赖)
|
||||
node_modules
|
||||
dist
|
||||
.git
|
||||
.gitea
|
||||
src-tauri
|
||||
prototype
|
||||
photograph
|
||||
|
||||
# 本地 ota-package 中的私钥不得进入镜像 (CI 里的 ota-package 只含公钥产物)
|
||||
ota-package/hotswap.key
|
||||
.DS_Store
|
||||
Reference in New Issue
Block a user