From 85151cd82f17571a1178b402006644a3818368b2 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Mon, 25 Jan 2021 11:54:14 -0800 Subject: [PATCH] drone config --- .drone.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..fece8dd --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +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