22 lines
496 B
YAML
22 lines
496 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
|
|
port: 22
|
|
ssh_key:
|
|
from_secret: ssh-key
|
|
source: content/schedule/schedule.md
|
|
target: /home/mephisto/cc/content/schedule/schedule.md
|
|
known_hosts: |
|
|
mephis.to ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLbFtFq1xLwNG8YjKxc46/LQpAnKnZcf0ICq01ZXHfa
|
|
|
|
trigger:
|
|
branch:
|
|
-main
|