This commit is contained in:
15
.drone.yml
15
.drone.yml
@@ -3,19 +3,20 @@ type: docker
|
|||||||
name: deploy-to-remote
|
name: deploy-to-remote
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: copy-file-over-ssh
|
- name: copy-file-over-scp
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: mephis.to
|
host: mephis.to
|
||||||
username: mephisto
|
username: mephisto
|
||||||
port: 22
|
port: 22
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh-key
|
from_secret: ssh-key
|
||||||
source: content/schedule/schedule.md
|
source:
|
||||||
target: /home/mephisto/cc/content/schedule/schedule.md
|
- !.drone.yml
|
||||||
|
- .
|
||||||
|
target: /home/mephisto/cc/content
|
||||||
|
strip_components: 0
|
||||||
|
overwrite: true
|
||||||
known_hosts: |
|
known_hosts: |
|
||||||
mephis.to ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLbFtFq1xLwNG8YjKxc46/LQpAnKnZcf0ICq01ZXHfa
|
mephis.to ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLbFtFq1xLwNG8YjKxc46/LQpAnKnZcf0ICq01ZXHfa
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
-main
|
|
||||||
|
|||||||
Reference in New Issue
Block a user