From 3fab71250f94e345d059988ddef246fafa3bb43e Mon Sep 17 00:00:00 2001 From: jk Date: Wed, 29 Apr 2020 15:43:26 +0100 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index bf67d5b1..253c9a02 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,17 +1,30 @@ -pipeline: - build: - image: cbrgm/drone-hugo:latest - validate: true +kind: pipeline +name: default + +steps: +- name: build + image: plugins/hugo + settings: + hugo_version: 0.55 + pull: always url: https://jk.nipponalba.scot + validate: true - deploy: - image: appleboy/drone-scp +- name: deploy + image: appleboy/drone-scp + settings: host: 192.168.1.33 - port: 9439 - user: jk target: /var/www/nipponalba/jk source: public/* + username: jk key: from_secret: ssh_key passphrase: - from_secret: ssh_pass \ No newline at end of file + from_secret: ssh_pass + port: 9439 + when: + branch: + - master + event: + exclude: + - pull_request \ No newline at end of file