大量修改
This commit is contained in:
29
.drone.yml
Normal file
29
.drone.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
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"
|
||||
- git clone https://git.buyusdt.xyz/bmy/xiezheng_h5.git
|
||||
- uname -a
|
||||
- cat /proc/version
|
||||
- curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install sshpass
|
||||
|
||||
# volumes:
|
||||
# - name: 1panel-nginx-static
|
||||
# host:
|
||||
# path: /home/bmy/1panel/apps/openresty/openresty/www/sites/site.buyusdt.xyz/index/xz/
|
||||
Reference in New Issue
Block a user