diff --git a/.drone.yml b/.drone.yml
index f12168e..c756cf2 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,14 +1,9 @@
kind: pipeline
type: docker
-name: masterpipe
+name: 1
platform:
os: linux
arch: arm64
-
-volumes:
- - name: cache
- host:
- path: /var/lib/cache
steps:
- name: maven
image: maven:3-jdk-10
@@ -17,16 +12,8 @@ steps:
path: /root/.m2
commands:
- mvn compile
-- name: test
- image: maven:3-jdk-10
- volumes:
- - name: cache
- path: /root/.m2
- commands:
- - mvn test
-
- name: 远程主机部署
- image: appleboy/drone-ssh
+ image: appleboy/drone-ssh:linux-arm64
settings:
host:
from_secret: ip
@@ -36,11 +23,9 @@ steps:
from_secret: pwd
port: 22
script:
- - chmod +x /home/deploy.sh
- - ./home/deploy.sh
+ - echo hello
trigger:
branch:
- - master
+ - ansible
event:
- push
- - pull_request
diff --git a/pom.xml b/pom.xml
index ce4b6c6..16cec65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,7 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
com.educoder
- webssh
+ jwebssh
war
1.0-SNAPSHOT
webssh Maven Webapp
diff --git a/test.txt b/test.txt
index 94ee7f5..d82cab5 100644
--- a/test.txt
+++ b/test.txt
@@ -1 +1 @@
-测试push
\ No newline at end of file
+测试push2
\ No newline at end of file