Files
xiezheng_h5/.drone.yml
bmy 40ef2f78ee
Some checks failed
continuous-integration/drone/push Build is failing
sw
2024-11-29 21:45:36 +08:00

37 lines
826 B
YAML

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
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"
- rm -rf xiezheng_h5/
- git clone https://git.buyusdt.xyz/bmy/xiezheng_h5.git
- ls
volumes:
- name: 1panel-nginx-static
host:
path: /home/bmy/1panel/apps/openresty/openresty/www/sites/site.buyusdt.xyz/index
# - 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