From 2c261511d075f4576133ff285a2076061ce67f79 Mon Sep 17 00:00:00 2001 From: wangwei2 <153692772@qq.com> Date: Tue, 28 Feb 2023 15:37:03 +0800 Subject: [PATCH] update pipeline for ansible branch --- .drone.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index d286454..0fec6e7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,13 +20,17 @@ steps: - 121.41.90.210 - 106.75.223.53 username: - from_secret: name + from_secret: root password: - from_secret: passwd + from_secret: Edu_123123 port: 22 script: - chmod +x /home/deploy.sh - bash /home/deploy.sh + +volumes: +- name: cache + path: /root/.m2 trigger: branch: - ansible