This commit is contained in:
@@ -10,10 +10,9 @@ clone:
|
||||
|
||||
steps:
|
||||
- name: myclone
|
||||
image: drone/git:latest
|
||||
image: 2271608011/bmygit:v1
|
||||
commands:
|
||||
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
|
||||
- git config --global http.sslVerify "false"
|
||||
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
|
||||
- git clone https://git.buyusdt.xyz/bmy/xiezheng.git
|
||||
|
||||
- name: pc-dev
|
||||
@@ -21,7 +20,6 @@ steps:
|
||||
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