Browse Source

update pipeline for interface branch

interface
wangwei10061 3 months ago
parent
commit
8878dcbec8
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      .drone.yml

+ 13
- 0
.drone.yml View File

@@ -12,8 +12,21 @@ steps:
path: /root/.m2 path: /root/.m2
commands: commands:
- mvn compile - mvn compile
- name: 远程主机部署
image: appleboy/drone-ssh:linux-arm64
settings:
host:
from_secret: ip
username:
from_secret: name
password:
from_secret: pwd
port: 22
script:
- echo '模拟部署'
trigger: trigger:
branch: branch:
- interface - interface
event: event:
- push - push
- pull_request

Loading…
Cancel
Save