2020-07-12 07:58:38 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
2020-07-12 08:21:40 +00:00
|
|
|
steps:
|
2020-07-12 08:20:37 +00:00
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --recursive --init
|
2020-07-12 08:19:03 +00:00
|
|
|
|
2020-07-12 08:20:37 +00:00
|
|
|
- name: build
|
2020-07-12 08:25:45 +00:00
|
|
|
image: plugins/hugo
|
|
|
|
settings:
|
|
|
|
validate: true
|
|
|
|
url: http://moonside.games/docs/encompass
|
2020-07-12 07:58:38 +00:00
|
|
|
|
2020-07-12 08:20:37 +00:00
|
|
|
- name: deploy
|
|
|
|
image: drillster/drone-rsync
|
|
|
|
hosts: [ "moonside.games" ]
|
|
|
|
target: /var/www/docs/encompass
|
2020-07-12 08:32:02 +00:00
|
|
|
source: public/
|
|
|
|
recursive: true
|
2020-07-12 08:38:28 +00:00
|
|
|
key:
|
|
|
|
from_secret: rsync_key
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|