parent
4f0e57aac6
commit
f755da2f46
@ -78,7 +78,7 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
|
|
||||||
- name: build-new-service
|
- name: build-new-service
|
||||||
|
|
||||||
image: maven:3-jdk-8 # SSH工具镜像
|
image: appleboy/drone-ssh # SSH工具镜像
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
|
||||||
@ -93,9 +93,11 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
port: 22 # 远程连接端口
|
port: 22 # 远程连接端口
|
||||||
|
|
||||||
command_timeout: 10m # 远程执行命令超时时间
|
command_timeout: 10m # 远程执行命令超时时间
|
||||||
|
# 设置使用 bash shell
|
||||||
|
shell: bash
|
||||||
script:
|
script:
|
||||||
|
# 导出远程服务器上的 PATH 环境变量
|
||||||
|
- export PATH=$PATH
|
||||||
- cd /root/ludu-cloud
|
- cd /root/ludu-cloud
|
||||||
- git pull origin master
|
- git pull origin master
|
||||||
- rm -f ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/framework/nacos/config/BeanInit.java
|
- rm -f ludu-module-datacenter/ludu-module-datacenter-biz/src/main/java/cn/iocoder/yudao/module/datacenter/framework/nacos/config/BeanInit.java
|
||||||
|
Loading…
Reference in New Issue
Block a user