From b9668b51ca6439e0c2e6a1347fdd1ac91c975f7f Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 29 Apr 2020 14:55:58 +0100 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 899ec976..327ba49d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,12 +2,14 @@ kind: pipeline name: default steps: -- name: hugo - image: cbrgm/drone-hugo:latest +- name: build + image: plugins/hugo settings: - validate: true - output: public + hugo_version: 0.55 + pull: always url: https://jk.nipponalba.scot + validate: true + - name: deploy image: appleboy/drone-scp settings: @@ -15,4 +17,10 @@ steps: port: 9439 username: jk target: /var/www/nipponalba/jk - source: public/ + source: public/* + when: + branch: + - master + event: + exclude: + - pull_request \ No newline at end of file