bonk-docs/.drone.yml

31 lines
511 B
YAML
Raw Normal View History

2020-07-18 10:20:49 +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/bonk
- name: deploy
image: drillster/drone-rsync
settings:
hosts:
- moonside.games
2020-07-18 10:55:24 +00:00
target: /var/www/html/docs/bonk
2020-07-18 10:20:49 +00:00
source: public/
recursive: true
user: hugo
key:
from_secret: rsync_key
when:
branch:
- main