tt
This commit is contained in:
36
.drone.yml
36
.drone.yml
@@ -4,25 +4,23 @@ name: default
|
|||||||
|
|
||||||
clone:
|
clone:
|
||||||
disable: true
|
disable: true
|
||||||
extra_hosts:
|
|
||||||
- "git.buyusdt.xyz:192.168.31.100"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: myclone
|
- name: copy
|
||||||
image: drone/git:latest
|
image: 2271608011/bmygit:v1
|
||||||
# volumes:
|
network_mode: host
|
||||||
# - name: 1panel-nginx-static
|
environment:
|
||||||
# path: /drone/src/xiezheng_h5
|
SSH_PASSWORD:
|
||||||
|
from_secret: ssh_password
|
||||||
|
SSH_USERNAME:
|
||||||
|
from_secret: ssh_username
|
||||||
|
SSH_IP:
|
||||||
|
from_secret: ssh_ip
|
||||||
|
SSH_STATIC_PATH:
|
||||||
|
from_secret: ssh_static_path
|
||||||
|
SSH_CLONE_URL:
|
||||||
|
from_secret: git_clone_url
|
||||||
commands:
|
commands:
|
||||||
- echo "192.168.31.100 git.buyusdt.xyz" >> /etc/hosts
|
- echo "$SSH_IP git.buyusdt.xyz" >> /etc/hosts
|
||||||
- git config --global http.sslVerify "false"
|
- git clone $SSH_CLONE_URL
|
||||||
- git clone https://git.buyusdt.xyz/bmy/xiezheng_h5.git
|
- sshpass -p $SSH_PASSWORD scp -o StrictHostKeyChecking=no -r /drone/src/xiezheng_h5/* $SSH_USERNAME@$SSH_IP:$SSH_STATIC_PATH
|
||||||
- uname -a
|
|
||||||
- cat /proc/version
|
|
||||||
- apk --no-cache add sshpass
|
|
||||||
- scp -v
|
|
||||||
|
|
||||||
# volumes:
|
|
||||||
# - name: 1panel-nginx-static
|
|
||||||
# host:
|
|
||||||
# path: /home/bmy/1panel/apps/openresty/openresty/www/sites/site.buyusdt.xyz/index/xz/
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>首页</title>
|
<title>2222首页</title>
|
||||||
<script src="../js/utils/rem.js"></script>
|
<script src="../js/utils/rem.js"></script>
|
||||||
<link rel="stylesheet" href="../css/tool/clear.css">
|
<link rel="stylesheet" href="../css/tool/clear.css">
|
||||||
<link rel="stylesheet" href="https://unpkg.com/swiper@8.4.7/swiper-bundle.min.css">
|
<link rel="stylesheet" href="https://unpkg.com/swiper@8.4.7/swiper-bundle.min.css">
|
||||||
|
|||||||
Reference in New Issue
Block a user