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.
25 lines
456 B
YAML
25 lines
456 B
YAML
kind: pipeline
|
|
name: update-blog
|
|
|
|
clone:
|
|
depth: 1
|
|
|
|
steps:
|
|
- name: build
|
|
image: code.ndumas.com/ndumas/drone-hugo:latest
|
|
commands:
|
|
- hugo --enableGitInfo --minify
|
|
- name: publish
|
|
image: drillster/drone-rsync
|
|
settings:
|
|
key:
|
|
from_secret: BLOG_DEPLOY_KEY
|
|
user: blog
|
|
port: 22
|
|
delete: true
|
|
recursive: true
|
|
hosts: ["hugo-demo.ndumas.com"]
|
|
source: public/
|
|
target: /var/www/hugo-demo.ndumas.com/
|
|
include: ["*"]
|