测试ssh pipeline
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
0bc71307d9
commit
3d88e71e35
21
.drone.yml
21
.drone.yml
|
@ -1,6 +1,7 @@
|
||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: "中文流水线"
|
name: "Test Docker Pipeline"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "中文STEP"
|
- name: "中文STEP"
|
||||||
|
@ -67,3 +68,21 @@ steps:
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: ssh
|
||||||
|
name: Remote SSH
|
||||||
|
|
||||||
|
server:
|
||||||
|
host: 38.55.104.160
|
||||||
|
user: root
|
||||||
|
password:
|
||||||
|
from_secret: aus_pw
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: greeting
|
||||||
|
commands:
|
||||||
|
- echo hello world
|
||||||
|
- date
|
||||||
|
- neofetch
|
||||||
|
|
Loading…
Reference in New Issue