Merge pull request 'Update .drone.yml' (#17) from mephisto-patch-1 into main
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: mephisto/clubbing-content#17
This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -17,30 +17,30 @@ steps:
|
|||||||
- name: copy-file-over-scp
|
- name: copy-file-over-scp
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
host: mephis.to
|
host: $SSH_HOST
|
||||||
username: mephisto
|
username: $SSH_USER
|
||||||
port: 22
|
port: 22
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh-key
|
from_secret: ssh-key
|
||||||
source:
|
source:
|
||||||
- schedule/schedule.md
|
- schedule/schedule.md
|
||||||
target: /home/mephisto/cc/content/
|
target: $TARGET
|
||||||
strip_components: 0
|
strip_components: 0
|
||||||
overwrite: true
|
overwrite: true
|
||||||
known_hosts: |
|
known_hosts: |
|
||||||
mephis.to ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLbFtFq1xLwNG8YjKxc46/LQpAnKnZcf0ICq01ZXHfa
|
$KNOWN_HOST
|
||||||
- name: run hugo
|
- name: run hugo
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: mephis.to
|
host: $SSH_HOST
|
||||||
username: mephisto
|
username: $SSH_USER
|
||||||
port: 22
|
port: 22
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh-key
|
from_secret: ssh-key
|
||||||
known_hosts: |
|
known_hosts: |
|
||||||
mephis.to ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLbFtFq1xLwNG8YjKxc46/LQpAnKnZcf0ICq01ZXHfa
|
$KNOWN_HOST
|
||||||
script:
|
script:
|
||||||
- cd /home/mephisto/cc
|
- cd $HUGO_ROOT
|
||||||
- hugo
|
- hugo
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
|||||||
Reference in New Issue
Block a user