encompass-cs-docs/.drone.yml

31 lines
516 B
YAML
Raw Normal View History

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
key:
from_secret: rsync_key
2020-07-12 08:38:28 +00:00
when:
branch:
- main