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