chore: prod server migrated to 42.120.60.12 (old 114.55.171.188 decommissioned)
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ steps:
|
|||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$SSH_KNOWN_HOSTS_PROD" > ~/.ssh/known_hosts
|
- echo "$SSH_KNOWN_HOSTS_PROD" > ~/.ssh/known_hosts
|
||||||
- |
|
- |
|
||||||
ssh -o StrictHostKeyChecking=no root@114.55.171.188 << 'DEPLOY_PROD'
|
ssh -o StrictHostKeyChecking=no root@42.120.60.12 << 'DEPLOY_PROD'
|
||||||
cd /opt/tianwang-order-matching
|
cd /opt/tianwang-order-matching
|
||||||
# 生产服无法访问内网 Gitea,通过公网域名 pull
|
# 生产服无法访问内网 Gitea,通过公网域名 pull
|
||||||
git remote set-url origin https://liuyang:Liuyang%261991@git.ygaixiao.top/yang/tianwang-order-matching.git
|
git remote set-url origin https://liuyang:Liuyang%261991@git.ygaixiao.top/yang/tianwang-order-matching.git
|
||||||
|
|||||||
Reference in New Issue
Block a user