chore(release): 发布上传配置改为本地文件,不再纳入版本管理

config/deploy.json 含服务器地址、远程目录与私钥路径,且路径指向提交者本机,
其他人打包执行 pack.ps1 的发布步骤会因私钥不存在而中断。

- git rm --cached config/deploy.json(本地文件保留)
- .gitignore 增加 config/deploy.json,与 config/android.json 同口径
- 模板仍由 config/deploy.example.json 提供,README 已说明 deploy.json 不提交

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
liufumingren 2026-10-28 00:13:12 +08:00
parent 3cf709c196
commit a4bfd09bff
2 changed files with 2 additions and 11 deletions

2
.gitignore vendored
View File

@ -45,6 +45,8 @@ static/uview/
# 签名密钥与本地配置(含密码)不提交
android-offline/keystore/
config/android.json
# 发布上传配置(含服务器地址与私钥路径,每台机器不同;模板见 config/deploy.example.json)
config/deploy.json
# DCloud 离线 SDK(体积大,按需下载解压,勿提交)
android-offline/SDK/
# 原生工程的本地产物(工程源码本身提交,保证发布基座一致)

View File

@ -1,11 +0,0 @@
{
"android": {
"host": "112.124.21.102",
"user": "pdadev",
"keyPath": "C:/Users/Administrator/.ssh/pdadev_112.124.21.102_id_ed25519",
"port": 22,
"remoteDir": "/www/wwwroot/dl/pda",
"downloadUrlPrefix": "http://dl.wms.gztbyc.com/pda",
"latestJsonName": "latest.json"
}
}