2333
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
编码猿
2024-12-01 02:05:11 +08:00
parent 6cad648490
commit 812b503d6d

View File

@@ -22,8 +22,8 @@ steps:
from_secret: git_clone_url
commands:
- echo "$SSH_IP git.buyusdt.xyz" >> /etc/hosts
- git config --global http.sslVerify "false"
# - git config --global http.sslVerify "false"
- git clone $SSH_CLONE_URL
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
- apk add --no-cache sshpass
# - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
# - apk add --no-cache sshpass
- sshpass -p $SSH_PASSWORD scp -o StrictHostKeyChecking=no -r /drone/src/xiezheng_h5/* $SSH_USERNAME@$SSH_IP:$SSH_STATIC_PATH