feat: 自动部署 + android 每次提交触发
Android Build & Publish / build-android (push) Failing after 5s
Docker Build and Push / build-image (push) Failing after 4m32s

- 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:
jif2.zhang
2026-09-11 17:12:58 +08:00
parent 38b5e3190a
commit 84fb01b8a3
6 changed files with 183 additions and 4 deletions
+1 -3
View File
@@ -1,13 +1,11 @@
name: Android Build & Publish
# 仅在 android-* 分支 push 时触发 (如 android/release, android-1.0)
# 每次提交触发 (所有分支 push; 主分支提交会同时触发 docker-build.yml 自动部署)
# 构建 release APK (keystore 签名) 并上传到 Cloudflare R2 (S3 兼容 API)
# R2 凭据从配置注册中心 (bh.vps.honor3.com:8008, CommonExternalService, 分组 cloudflare) 读取
# 参考: D:\workbench\iboard\.gitea\workflows\android-build.yml
on:
push:
branches:
- 'android-*'
jobs:
build-android: