This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -10,17 +10,9 @@ clone:
|
||||
|
||||
steps:
|
||||
- name: myclone
|
||||
image: 2271608011/bmygit:v1
|
||||
image: 2271608011/bmygit:v1.2
|
||||
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
|
||||
|
||||
- npm install && npm run dev
|
||||
|
||||
Reference in New Issue
Block a user