28 lines
506 B
YAML
28 lines
506 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
|
|
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
|
|
- cd xiezheng/
|
|
|
|
- name: test
|
|
image: node
|
|
commands:
|
|
- npm run dev
|
|
|
|
# host_aliases:
|
|
# - ip: 192.168.31.100
|
|
# hostnames:
|
|
# - git.buyusdt.xyz |