2018-07-20 11:55:41 +02:00
|
|
|
pipeline:
|
2018-07-20 12:11:13 +02:00
|
|
|
build:
|
2018-07-20 11:55:41 +02:00
|
|
|
image: cbrgm/drone-hugo:latest
|
|
|
|
buildDrafts: true
|
|
|
|
buildFuture: true
|
|
|
|
buildExpired: true
|
|
|
|
validate: true
|
|
|
|
url: https://staging.vbrandl.net
|
2018-07-20 12:57:55 +02:00
|
|
|
compress:
|
|
|
|
image: alpine:latest
|
2018-07-20 12:59:20 +02:00
|
|
|
commands:
|
2018-07-20 12:57:55 +02:00
|
|
|
- apk --no-cache update
|
|
|
|
- apk add make
|
|
|
|
- make -C public/ -f Makefile
|
2018-07-20 12:11:13 +02:00
|
|
|
deploy:
|
|
|
|
image: drillster/drone-rsync
|
|
|
|
hosts: [ "vbrandl.net" ]
|
|
|
|
target: /var/www/staging.vbrandl.net
|
2018-07-20 12:30:01 +02:00
|
|
|
source: public/*
|
2018-07-20 12:11:13 +02:00
|
|
|
user: hugo
|
|
|
|
secrets: [ rsync_key ]
|
2018-07-20 11:57:28 +02:00
|
|
|
branches: develop
|