2 Commits

2 changed files with 13 additions and 9 deletions
Unified View
  1. +12
    -8
      .drone.yml
  2. +1
    -1
      test.txt

+ 12
- 8
.drone.yml View File

@@ -12,16 +12,20 @@ steps:
path: /root/.m2 path: /root/.m2
commands: commands:
- mvn compile - mvn compile

- name: check ansible syntax
image: plugins/ansible:3
- name: 远程主机部署
image: appleboy/drone-ssh:linux-arm64
settings: settings:
playbook: ansible/playbook.yml
galaxy: ansible/requirements.yml
inventory: ansible/inventory
syntax_check: true
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- echo hello
trigger: trigger:
branch: branch:
- ansible - ansible
event: event:
- cron
- push

+ 1
- 1
test.txt View File

@@ -1 +1 @@
测试push
测试push2

Loading…
Cancel
Save