diff --git a/.drone.yml b/.drone.yml index e51d620..0fa199b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,22 +2,16 @@ kind: pipeline type: docker name: default -steps: -- name: hugo - image: cbrgm/drone-hugo:latest - settings: +pipeline: + build: + image: cbrgm/drone-hugo:latest validate: true - output: public - url: http://moonside.games/docs/encompass + url: https://www.vbrandl.net -- name: deploy - image: appleboy/drone-scp - settings: - host: - - %SCP_HOSTNAME% - port: %SCP_PORT% - username: %SCP_USERNAME% - target: %SCP_TARGET_DIRECTORY% - source: public/ - key: - from_secret: ssh_key + deploy: + image: drillster/drone-rsync + hosts: [ "vbrandl.net" ] + target: /var/www/vbrandl.net + source: public/* + user: hugo + secrets: [ rsync_key ]