Files
clubbing-content/.drone.yml
Bastian Mäuser 6a8c8ddf00
Some checks failed
continuous-integration/drone/push Build is failing
Use drone-ssh
2025-06-13 10:53:09 +02:00

20 lines
575 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: 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