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