encompass-cs-docs/.drone.yml

24 lines
405 B
YAML
Raw Normal View History

2020-07-12 07:58:38 +00:00
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