Branch_csl #4
11
.drone.yml
11
.drone.yml
@ -30,9 +30,9 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||
|
||||
# - cp ruoyi-admin/target/ruoyi-admin.jar /app/build/ruoyi-admin.jar
|
||||
|
||||
# - cp Dockerfile /app/build/Dockerfile
|
||||
# - cp yudao-server/Dockerfile /app/build/Dockerfile
|
||||
|
||||
# - cp run.sh /app/build/run.sh
|
||||
# - cp yudao-server/run.sh /app/build/run.sh
|
||||
|
||||
|
||||
|
||||
@ -57,7 +57,8 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
||||
script:
|
||||
- ls
|
||||
|
||||
# - cd /mydata/maven/build # 进入宿主机构建目录
|
||||
# - cd /zymail/maven/build # 进入宿主机构建目录
|
||||
# - scp -r . root@1.14.205.126:/zymail/build
|
||||
|
||||
# - chmod +x run.sh # 更改为可执行脚本
|
||||
|
||||
@ -69,8 +70,8 @@ volumes: # 定义流水线挂载目录,用于共享数据
|
||||
|
||||
- name: maven-build
|
||||
host:
|
||||
path: /mydata/maven/build # 从宿主机中挂载的目录
|
||||
path: /zymail/maven/build # 从宿主机中挂载的目录
|
||||
|
||||
- name: maven-cache
|
||||
host:
|
||||
path: /mydata/maven/cache # 从宿主机中挂载的目录
|
||||
path: /zymail/maven/cache # 从宿主机中挂载的目录
|
Loading…
Reference in New Issue
Block a user