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
|
2020-07-12 08:56:28 +00:00
|
|
|
settings:
|
|
|
|
hosts:
|
|
|
|
- moonside.games
|
|
|
|
target: /var/www/docs/encompass
|
|
|
|
source: public/
|
|
|
|
recursive: true
|
2020-07-12 08:59:19 +00:00
|
|
|
user: hugo
|
2020-07-12 09:06:09 +00:00
|
|
|
key: ${rsync_key}
|
2020-07-12 08:38:28 +00:00
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|