This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -12,12 +12,10 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
|
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
|
||||||
- git config --global http.sslVerify "false"
|
- git config --global http.sslVerify "false"
|
||||||
- pwd
|
- git clone https://git.buyusdt.xyz/bmy/xiezheng_h5.git
|
||||||
- ls -a
|
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
# # - git clone https://git.buyusdt.xyz/bmy/xiezheng_h5.git
|
- apk add --no-cache sshpass
|
||||||
# - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
- sshpass -p '<??>' 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/
|
||||||
# - apk add --no-cache sshpass
|
|
||||||
# - sshpass -p '<??>' 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/
|
|
||||||
|
|
||||||
# volumes:
|
# volumes:
|
||||||
# - name: 1panel-nginx-static
|
# - name: 1panel-nginx-static
|
||||||
|
|||||||
Reference in New Issue
Block a user