23 lines
359 B
YAML
23 lines
359 B
YAML
|
---
|
||
|
|
||
|
pipeline:
|
||
|
build:
|
||
|
image: klakegg/hugo
|
||
|
commands:
|
||
|
- hugo
|
||
|
|
||
|
deploy:
|
||
|
image: appleboy/drone-scp
|
||
|
settings:
|
||
|
strip_components: 1
|
||
|
host:
|
||
|
from_secret: ssh_host
|
||
|
username:
|
||
|
from_secret: ssh_user
|
||
|
target:
|
||
|
from_secret: target_directory
|
||
|
source: public/
|
||
|
key:
|
||
|
from_secret: ssh_key
|
||
|
|