encompass-cs-docs/.drone.yml

30 lines
505 B
YAML
Raw Normal View History

2020-07-12 07:58:38 +00:00
kind: pipeline
type: docker
name: default
steps:
2020-07-12 09:48:17 +00:00
- name: submodules
image: alpine/git
commands:
- git submodule update --recursive --init
- name: build
image: plugins/hugo
2020-07-12 07:58:38 +00:00
settings:
validate: true
2020-07-12 08:01:14 +00:00
url: http://moonside.games/docs/encompass
2020-07-12 07:58:38 +00:00
- name: deploy
2020-07-12 09:49:47 +00:00
image: drillster/drone-rsync
2020-07-12 07:58:38 +00:00
settings:
2020-07-12 09:49:47 +00:00
hosts:
- moonside.games
target: /var/www/docs/encompass
source: public/
recursive: true
user: hugo
secrets: [ rsync_key ]
when:
branch:
- main