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

This commit is contained in:
编码猿
2024-12-01 00:51:11 +08:00
parent 39bdc26d78
commit c58bf93a6c

View File

@@ -23,10 +23,10 @@ steps:
commands:
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
- git config --global http.sslVerify "false"
- git clone https://git.buyusdt.xyz/bmy/xiezheng_h5.git
- git clone $SSH_CLONE_URL
- 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/* root@192.168.31.100:/home/bmy/1panel/apps/openresty/openresty/www/sites/site.buyusdt.xyz/index/xz/
- sshpass -p $SSH_PASSWORD scp -o StrictHostKeyChecking=no -r /drone/src/xiezheng_h5/* $SSH_USERNAME@$SSH_IP:$SSH_STATIC_PATH
# volumes:
# - name: 1panel-nginx-static