From ed613779cf40f863d56332ea53f84bd1d914e724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=8C=BF?= Date: Sun, 1 Dec 2024 00:16:19 +0800 Subject: [PATCH] test --- .drone.yml | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index cf2418d..940e377 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,21 +8,25 @@ clone: - "git.buyusdt.xyz:192.168.31.100" steps: -- name: copy - network_mode: host - image: drone/git:latest - # volumes: - # - name: 1panel-nginx-static - # path: /drone/src/xiezheng_h5 +- name: test + image: node 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/ + - echo "11" +# - name: copy +# network_mode: host +# image: drone/git:latest +# # volumes: +# # - name: 1panel-nginx-static +# # path: /drone/src/xiezheng_h5 +# 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: # - name: 1panel-nginx-static