This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
jwebssh
forked from
markchen/ssh-web
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
1
Fork
2
Code
Releases
3
Wiki
evaluate
Activity
Issues
11
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
update pipeline for master branch
pull/16/head
高级云脑研发工程师
2 years ago
parent
b72456d1c7
commit
669c2729ac
1 changed files
with
14 additions
and
12 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-12
.drone.yml
+ 14
- 12
.drone.yml
View File
@@ -4,38 +4,40 @@ name: 1
platform:
os: linux
arch: arm64
volumes:
- name: cache
host:
path: /var/lib/cache
- name: cache
host:
path: /var/lib/cache
steps:
- name: maven
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
- name: cache
path: /root/.m2
commands:
- mvn compile
- name: test
image: maven:3-jdk-10
volumes:
- name: cache
path: /root/.m2
- name: cache
path: /root/.m2
commands:
- mvn test
- name: 远程主机部署
image: appleboy/drone-ssh:linux-arm64
settings:
host:
host:
from_secret: ip
username:
username:
from_secret: name
password:
password:
from_secret: pwd
port: 22
script:
- chmod +x /home/deploy.sh
- .
/home/deploy.sh
- chmod +x /home/deploy.sh
- bash
/home/deploy.sh
trigger:
branch:
- master
Write
Preview
Loading…
Cancel
Save