From ff6b78bf56bbd13c30694d4143c9cdcd914a69a0 Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 29 Apr 2020 15:25:15 +0100 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2881abdd..eead9729 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,26 +1,14 @@ -kind: pipeline - - -steps: -- name: build - image: plugins/hugo - settings: - hugo_version: 0.55 - pull: always +pipeline: + build: + image: cbrgm/drone-hugo:latest + validate: true url: https://jk.nipponalba.scot - validate: false - -- name: deploy - image: appleboy/drone-scp - settings: + + deploy: + image: appleboy/drone-scp host: 192.168.1.33 port: 9439 username: jk target: /var/www/nipponalba/jk source: public/* - when: - branch: - - master - event: - exclude: - - pull_request \ No newline at end of file + secrets: [ ssh_key ] \ No newline at end of file