This commit is contained in:
27
.drone.yml
Normal file
27
.drone.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
clone:
|
||||||
|
disable: true
|
||||||
|
extra_hosts:
|
||||||
|
- "git.buyusdt.xyz:192.168.31.100"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: myclone
|
||||||
|
image: drone/git:latest
|
||||||
|
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.git
|
||||||
|
- mv /drone/src/xiezheng/ /home/bmy/1panel/apps/openresty/openresty/www/sites/site.buyusdt.xyz/index/xz/
|
||||||
|
|
||||||
|
# - name: pc-h5
|
||||||
|
# image: node:22.2.0
|
||||||
|
# network_mode: host
|
||||||
|
# commands:
|
||||||
|
# - cd /drone/src/xiezheng/
|
||||||
|
# - node -v
|
||||||
|
# - npm config set registry https://registry.npmmirror.com
|
||||||
|
# - npm install
|
||||||
|
# - npm run dev
|
||||||
Reference in New Issue
Block a user