18 lines
455 B
YAML
18 lines
455 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: deploy-to-remote
|
|
|
|
steps:
|
|
- name: copy-file-over-ssh
|
|
image: appleboy/drone-ssh
|
|
settings:
|
|
host: mephis.to
|
|
username: mephisto
|
|
# You can use either password or ssh_key (see notes below)
|
|
ssh_key:
|
|
from_secret: rsa_key
|
|
port: 22
|
|
script:
|
|
# - mkdir -p ~/destination/directory/
|
|
- echo "Copying file to remote..."
|
|
- scp -r * mephisto@mephis.to:~/cc/content |