Add rsync step to deploy blog
Some checks failed
the build failed

This commit is contained in:
Valentin Brandl 2018-07-20 12:11:13 +02:00
parent 6bd13e58d9
commit 3c4d07a39c
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -1,9 +1,16 @@
pipeline: pipeline:
hugo: build:
image: cbrgm/drone-hugo:latest image: cbrgm/drone-hugo:latest
buildDrafts: true buildDrafts: true
buildFuture: true buildFuture: true
buildExpired: true buildExpired: true
validate: true validate: true
url: https://staging.vbrandl.net url: https://staging.vbrandl.net
deploy:
image: drillster/drone-rsync
hosts: [ "vbrandl.net" ]
target: /var/www/staging.vbrandl.net
source: public/drone-generated/*
user: hugo
secrets: [ rsync_key ]
branches: develop branches: develop