encompass-cs-docs/.drone.yml

32 lines
543 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --recursive --init
- name: build
image: plugins/hugo
settings:
validate: true
url: http://moonside.games/docs/encompass
- name: deploy
image: drillster/drone-rsync
environment:
RSYNC_KEY:
from_secret: rsync_key
RSYNC_USER: hugo
settings:
hosts:
- moonside.games
target: /var/www/docs/encompass
source: public/
recursive: true
when:
branch:
- main