18 lines
326 B
YAML
18 lines
326 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: connect_to_server
|
|
image: appleboy/drone-ssh
|
|
settings:
|
|
host:
|
|
from_secret: SSH_HOST
|
|
username:
|
|
from_secret: SSH_USER
|
|
key:
|
|
from_secret: SSH_KEY
|
|
port: 10161
|
|
command_timeout: 2m
|
|
script:
|
|
- ls -l |