This commit is contained in:
parent
6a6b469ddd
commit
93a31b7043
@ -23,9 +23,9 @@ steps:
|
||||
port: 22 # 远程连接端口
|
||||
command_timeout: 5m # 远程执行命令超时时间
|
||||
script:
|
||||
- scp -r /feiyang/build/font root@1.94.20.201:/root/testserver
|
||||
- scp -r /feiyang/build/index root@1.94.20.201:~/testserver
|
||||
|
||||
volumes: # 定义流水线挂载目录,用于共享数据
|
||||
- name: build-file
|
||||
host:
|
||||
path: /feiyang/build/font # 从宿主机中挂载的目录
|
||||
path: /feiyang/build/index # 从宿主机中挂载的目录
|
Loading…
Reference in New Issue
Block a user