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: ssh-key port: 22 script: # - mkdir -p ~/destination/directory/ - echo "Copying file to remote..." - scp -r * mephisto@mephis.to:~/cc/content known_hosts: | mephis.to ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLbFtFq1xLwNG8YjKxc46/LQpAnKnZcf0ICq01ZXHfa