2020-07-12 07:58:38 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2020-07-12 09:48:17 +00:00
|
|
|
- name: submodules
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --recursive --init
|
|
|
|
|
|
|
|
- name: build
|
|
|
|
image: plugins/hugo
|
2020-07-12 07:58:38 +00:00
|
|
|
settings:
|
|
|
|
validate: true
|
2020-07-12 08:01:14 +00:00
|
|
|
url: http://moonside.games/docs/encompass
|
2020-07-12 07:58:38 +00:00
|
|
|
|
|
|
|
- name: deploy
|
2020-07-12 09:49:47 +00:00
|
|
|
image: drillster/drone-rsync
|
2020-07-12 07:58:38 +00:00
|
|
|
settings:
|
2020-07-12 09:49:47 +00:00
|
|
|
hosts:
|
|
|
|
- moonside.games
|
|
|
|
target: /var/www/docs/encompass
|
|
|
|
source: public/
|
|
|
|
recursive: true
|
|
|
|
user: hugo
|
2020-07-12 09:50:20 +00:00
|
|
|
key:
|
|
|
|
from_secret: rsync_key
|
2020-07-12 09:49:47 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|