Compare commits

...

3 Commits

Author SHA1 Message Date
kk e7d4e6cd51 修改生产环境配置
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 38s
2026-06-29 16:33:47 +08:00
kk 6e4c831870 修改同步文件时的参数
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Successful in 31s
2026-06-29 15:05:45 +08:00
kk ff544b9766 更新部署脚本
Uni-app H5 Deploy (Prod + Staging) / deploy (release) Failing after 31s
2026-06-29 14:58:09 +08:00
2 changed files with 9 additions and 6 deletions
+6 -3
View File
@@ -124,10 +124,13 @@ jobs:
exit 1
fi
# 确保构建产物可读
chmod -R a+r "$H5_SOURCE_DIR"
# 使用 rsync 同步文件
# 修正: 将 -e 参数移到前面
rsync -rltzv --delete --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r \
-e "ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" \
rsync -rltvz --delete \
--no-perms --no-times --no-owner --no-group \
-e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" \
"$H5_SOURCE_DIR/" \
"root@${TARGET}:${WEB_ROOT}/"
+3 -3
View File
@@ -3,13 +3,13 @@
*/
const prod = {
// 业务 API 地址(vms-api
apiBaseUrl: 'https://api.arklink.com',
apiBaseUrl: 'http://101.200.86.98:4000',
// 网关地址(vms-gateway)— 用户授权、短信等接口走网关
apiGatewayUrl: 'https://gateway.arklink.com',
apiGatewayUrl: 'https://gateway.arklinksmart.cn',
// 授权回调地址(支付宝/微信 OAuth redirect_uri
authRedirectUri: 'https://gateway.arklink.com/api/v1/user/auth/callback',
authRedirectUri: 'https://gateway.arklinksmart.cn/api/v1/user/auth/callback',
// 生产环境 Token 从登录流程获取,此处为空
bearerToken: '',