This commit is contained in:
32
.drone.yml
32
.drone.yml
@@ -8,21 +8,25 @@ clone:
|
|||||||
- "git.buyusdt.xyz:192.168.31.100"
|
- "git.buyusdt.xyz:192.168.31.100"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: copy
|
- name: test
|
||||||
network_mode: host
|
image: node
|
||||||
image: drone/git:latest
|
|
||||||
# volumes:
|
|
||||||
# - name: 1panel-nginx-static
|
|
||||||
# path: /drone/src/xiezheng_h5
|
|
||||||
commands:
|
commands:
|
||||||
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
|
- echo "11"
|
||||||
- git config --global http.sslVerify "false"
|
# - name: copy
|
||||||
- pwd
|
# network_mode: host
|
||||||
- ls
|
# image: drone/git:latest
|
||||||
# - git clone https://git.buyusdt.xyz/bmy/xiezheng_h5.git
|
# # volumes:
|
||||||
- sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
# # - name: 1panel-nginx-static
|
||||||
- apk add --no-cache sshpass
|
# # path: /drone/src/xiezheng_h5
|
||||||
- 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/
|
# commands:
|
||||||
|
# - echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
|
||||||
|
# - git config --global http.sslVerify "false"
|
||||||
|
# - pwd
|
||||||
|
# - ls
|
||||||
|
# # - git clone https://git.buyusdt.xyz/bmy/xiezheng_h5.git
|
||||||
|
# - sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
|
||||||
|
# - 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