24 lines
405 B
YAML
24 lines
405 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: hugo
|
||
|
image: cbrgm/drone-hugo:latest
|
||
|
settings:
|
||
|
validate: true
|
||
|
output: public
|
||
|
url: %HUGO_INSTANCE_URL%
|
||
|
|
||
|
- name: deploy
|
||
|
image: appleboy/drone-scp
|
||
|
settings:
|
||
|
host:
|
||
|
- %SCP_HOSTNAME%
|
||
|
port: %SCP_PORT%
|
||
|
username: %SCP_USERNAME%
|
||
|
target: %SCP_TARGET_DIRECTORY%
|
||
|
source: public/
|
||
|
key:
|
||
|
from_secret: ssh_key
|