Compare commits
2 Commits
ec8051ec0e
...
463509fad1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
463509fad1 | ||
|
|
1ca1a1d8fd |
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: $SSH_HOST
|
host: [ SSH_HOST ]
|
||||||
username: $SSH_USER
|
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: $TARGET
|
target:[ TARGET ]
|
||||||
strip_components: 0
|
strip_components: 0
|
||||||
overwrite: true
|
overwrite: true
|
||||||
known_hosts: |
|
known_hosts: |
|
||||||
$KNOWN_HOST
|
[ KNOWN_HOST ]
|
||||||
- name: run hugo
|
- name: run hugo
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: $SSH_HOST
|
host: [ SSH_HOST ]
|
||||||
username: $SSH_USER
|
username: [ SSH_USER ]
|
||||||
port: 22
|
port: 22
|
||||||
ssh_key:
|
ssh_key:
|
||||||
from_secret: ssh-key
|
from_secret: ssh-key
|
||||||
known_hosts: |
|
known_hosts: |
|
||||||
$KNOWN_HOST
|
[ KNOWN_HOST ]
|
||||||
script:
|
script:
|
||||||
- cd $HUGO_ROOT
|
- cd [ HUGO_ROOT ]
|
||||||
- hugo
|
- hugo
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
|||||||
Reference in New Issue
Block a user