this might do it
continuous-integration/drone/push Build is passing Details

drafts
Nick Dumas 2 years ago
parent 64038ce74d
commit 66c487523c

@ -12,13 +12,14 @@ steps:
- apk add hugo
- hugo
- name: publish
image: alpine:3
volumes:
- name: blog
path: /mnt/blog/
commands:
- cp -r public/* /mnt/blog/
volumes:
- name: blog
host:
path: /var/www/blog.ndumas.com
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
include: ["*"]

Loading…
Cancel
Save