Files
xiezheng/.drone.yml
编码猿 4dd0c5d928
Some checks reported errors
continuous-integration/drone/push Build was killed
增加接口,增加index
2024-12-12 11:10:07 +08:00

27 lines
498 B
YAML

kind: pipeline
type: docker
name: default
clone:
disable: true
extra_hosts:
- "git.buyusdt.xyz:192.168.31.100"
steps:
- name: myclone
image: 2271608011/bmygit:v1
commands:
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
- git clone https://git.buyusdt.xyz/bmy/xiezheng.git
- name: pc-dev
image: node:22.2.0
network_mode: host
commands:
- cd /drone/src/xiezheng/
- npm config set registry https://registry.npmmirror.com
- npm install
- npm run dev