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 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