diff --git a/.drone.yml b/.drone.yml index a2a0ccf..8334dd4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,21 +2,21 @@ kind: pipeline type: docker name: default -pipeline: - clone: - image: alpine/git - commands: - - git submodule update --recursive --init +step: +- name: submodules + image: alpine/git + commands: + - git submodule update --recursive --init - build: - image: cbrgm/drone-hugo:latest - validate: true - url: http://moonside.games/docs/encompass +- name: build + image: cbrgm/drone-hugo:latest + validate: true + url: http://moonside.games/docs/encompass - deploy: - image: drillster/drone-rsync - hosts: [ "moonside.games" ] - target: /var/www/docs/encompass - source: public/* - user: hugo - secrets: [ rsync_key ] +- name: deploy + image: drillster/drone-rsync + hosts: [ "moonside.games" ] + target: /var/www/docs/encompass + source: public/* + user: hugo + secrets: [ rsync_key ]