Files
clubbing-content/.drone.yml
Bastian Mäuser a7a88efcb8
Some checks failed
continuous-integration/drone/push Build encountered an error
Use drone-ssh
2025-06-13 10:57:29 +02:00

22 lines
635 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
source: *
target: /home/mephisto/cc/content
known_hosts: |
mephis.to ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLbFtFq1xLwNG8YjKxc46/LQpAnKnZcf0ICq01ZXHfa