This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user