This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
spring-boot-demo
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
添加 '.drone.yml'
master
高级云脑研发工程师
1 year ago
parent
87a142f960
commit
da5baf1cab
1 changed files
with
45 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+45
-0
.drone.yml
+ 45
- 0
.drone.yml
View File
@@ -0,0 +1,45 @@
kind: pipeline
type: docker
name: masterpipe
platform:
os: linux
arch: arm64
clone:
disable: true
steps:
- name: maven
image: maven:3-jdk-8
volumes:
- name: maven-build
path: /tmp/testDrone
commands:
- ls
- cp README.md /tmp/testDrone/sbdEADME.md
- cd /tmp/testDrone
- ls
- name: 远程主机部署
image: appleboy/drone-ssh:linux-arm64
settings:
host: 10.16.22.30
username: root
password:
from_secret: SECRET_PWD
port: 22
script:
- ls
- cat /tmp/testDrone/sbdREADME.md
volumes:
- name: maven-build
host:
path: /tmp/testDrone
trigger:
branch:
- master
event:
- push
- pull_request
Write
Preview
Loading…
Cancel
Save