2020-07-12 07:58:38 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
2020-07-12 08:02:08 +00:00
|
|
|
pipeline:
|
2020-07-12 08:12:25 +00:00
|
|
|
clone:
|
2020-07-12 08:19:03 +00:00
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --recursive --init
|
|
|
|
|
2020-07-12 08:02:08 +00:00
|
|
|
build:
|
|
|
|
image: cbrgm/drone-hugo:latest
|
2020-07-12 07:58:38 +00:00
|
|
|
validate: true
|
2020-07-12 08:03:33 +00:00
|
|
|
url: http://moonside.games/docs/encompass
|
2020-07-12 07:58:38 +00:00
|
|
|
|
2020-07-12 08:02:08 +00:00
|
|
|
deploy:
|
|
|
|
image: drillster/drone-rsync
|
2020-07-12 08:03:33 +00:00
|
|
|
hosts: [ "moonside.games" ]
|
|
|
|
target: /var/www/docs/encompass
|
2020-07-12 08:02:08 +00:00
|
|
|
source: public/*
|
|
|
|
user: hugo
|
|
|
|
secrets: [ rsync_key ]
|