@@ -39,6 +39,9 @@ steps:
- name: scp-project
image: appleboy/drone-scp
depends_on: [build-project] # 依赖的步骤
+ volumes: # 挂载数据卷
+ - name: targetDir # 数据卷名称
+ path: /kxs-gateway # 容器内目录 绝对路径
settings:
host: 172.27.251.48
username: root