You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
445 B
YAML

kind: pipeline
name: blog
clone:
depth: 1
steps:
- name: hugo
image: code.ndumas.com/ndumas/hugo
commands:
- hugo -d /drone/src/public/
- name: publish
depends_on:
- hugo
image: drillster/drone-rsync
settings:
key:
from_secret: BLOG_DEPLOY_KEY
user: blog
delete: true
recursive: true
hosts: ["blog.ndumas.com"]
source: /drone/src/public/
target: /var/www/blog.ndumas.com/
include: ["*"]