'build'
This commit is contained in:
parent
7089b9ea86
commit
9860a91901
18
.drone.yml
18
.drone.yml
@ -14,25 +14,25 @@ steps:
|
|||||||
- cp -r dist/. /build/dist
|
- cp -r dist/. /build/dist
|
||||||
|
|
||||||
- name: remote_transmit
|
- name: remote_transmit
|
||||||
|
|
||||||
image: appleboy/drone-ssh # SSH工具镜像
|
image: appleboy/drone-ssh # SSH工具镜像
|
||||||
settings:
|
settings:
|
||||||
|
|
||||||
host: 101.43.112.107 # 远程连接地址
|
host: 101.43.112.107 # 远程连接地址
|
||||||
|
|
||||||
username: root # 远程连接账号
|
username: root # 远程连接账号
|
||||||
|
|
||||||
password:
|
password:
|
||||||
|
|
||||||
from_secret: ssh_password # 从Secret中读取SSH密码
|
from_secret: ssh_password # 从Secret中读取SSH密码
|
||||||
|
|
||||||
port: 22 # 远程连接端口
|
port: 22 # 远程连接端口
|
||||||
|
|
||||||
command_timeout: 5m # 远程执行命令超时时间
|
command_timeout: 5m # 远程执行命令超时时间
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- scp -r /feiyang/build/font root@1.94.20.201:/root/testserver
|
- scp -r /feiyang/build/font root@1.94.20.201:/root/testserver
|
||||||
|
|
||||||
volumes: # 定义流水线挂载目录,用于共享数据
|
volumes: # 定义流水线挂载目录,用于共享数据
|
||||||
- name: build-file
|
- name: build-file
|
||||||
host:
|
host:
|
||||||
|
Loading…
Reference in New Issue
Block a user