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
502 B
YAML

2 years ago
kind: pipeline
name: publish
2 years ago
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
2 years ago
- name: build
2 years ago
image: code.ndumas.com/ndumas/drone-hugo
2 years ago
commands:
- hugo
- "find . -name 'public*'"
- name: publish
2 years ago
image: drillster/drone-rsync
settings:
key:
from_secret: blog_sync_key
user: blog
delete: true
recursive: true
hosts: ["blog.ndumas.com"]
source: ./public/
target: /var/www/blog.ndumas.com/
2 years ago
include: ["*"]