Browse Source

update pipeline for ansible branch

ansible
wangwei2 2 years ago
parent
commit
e7831438b5
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      .drone.yml

+ 3
- 6
.drone.yml View File

@@ -17,19 +17,16 @@ steps:
image: appleboy/drone-ssh image: appleboy/drone-ssh
settings: settings:
host: host:
from_secret: ip
- 121.41.90.210
- 106.75.223.53
username: username:
from_secret: name from_secret: name
password: password:
from_secret: pwd
from_secret: passwd
port: 22 port: 22
script: script:
- chmod +x /home/deploy.sh - chmod +x /home/deploy.sh
- bash /home/deploy.sh - bash /home/deploy.sh
volumes:
- name: cache
path: /root/.m2
trigger: trigger:
branch: branch:
- ansible - ansible


Loading…
Cancel
Save