kind: pipeline type: docker name: 1 platform: os: linux arch: arm64 steps: - name: maven image: maven:3-jdk-10 commands: - mvn compile - name: maven image: maven:3-jdk-10 commands: - mvn test - name: 远程主机部署 image: appleboy/drone-ssh settings: host: from_secret: ip username: from_secret: name password: from_secret: pwd port: 22 script: - chmod +x /home/deploy.sh - ./home/deploy.sh trigger: branch: - master event: - push - pull_request