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