ci: switch to docker runner and ssh plugin
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2021-08-05 23:29:57 +02:00
parent b7d3c67c7c
commit b09eb1bcbe
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -1,23 +1,12 @@
---
kind: pipeline
type: ssh
type: docker
name: deploy
platform:
os: linux
arch: amd64
server:
host:
from_secret: host
user:
from_secret: username
ssh_key:
from_secret: ssh_key
clone:
disable: true
trigger:
branch:
- development
@ -25,6 +14,19 @@ trigger:
steps:
- name: deploy
commands:
- cd
- touch /tmp/.nupls
depends_on: [clone]
image: appleboy/drone-ssh
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