MoonWorks-docs/.drone.yml

31 lines
521 B
YAML
Raw Normal View History

2021-01-25 19:54:14 +00:00
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/moonworks
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
- moonside.games
target: /var/www/html/docs/moonworks
source: public/
recursive: true
user: hugo
key:
from_secret: rsync_key
when:
branch:
- main