ci: switch to docker runner and ssh plugin
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b7d3c67c7c
commit
b09eb1bcbe
32
.drone.yml
32
.drone.yml
|
@ -1,23 +1,12 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: ssh
|
type: docker
|
||||||
name: deploy
|
name: deploy
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
server:
|
|
||||||
host:
|
|
||||||
from_secret: host
|
|
||||||
user:
|
|
||||||
from_secret: username
|
|
||||||
ssh_key:
|
|
||||||
from_secret: ssh_key
|
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- development
|
- development
|
||||||
|
@ -25,6 +14,19 @@ trigger:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
commands:
|
depends_on: [clone]
|
||||||
- cd
|
image: appleboy/drone-ssh
|
||||||
- touch /tmp/.nupls
|
settings:
|
||||||
|
host:
|
||||||
|
from_secret: host
|
||||||
|
username:
|
||||||
|
from_secret: username
|
||||||
|
key:
|
||||||
|
from_secret: ssh-key
|
||||||
|
port: 22
|
||||||
|
script:
|
||||||
|
- echo hello
|
||||||
|
- echo world
|
||||||
|
- cd
|
||||||
|
- touch /tmp/.nupls
|
||||||
|
- ls -lah /tmp/.nupls
|
||||||
|
|
Loading…
Reference in New Issue