From c759be165e11126038c33748dd4398e0e94146d5 Mon Sep 17 00:00:00 2001 From: jk Date: Fri, 1 Jan 2021 12:36:51 +0000 Subject: [PATCH] Add '.drone.yml' --- .drone.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..aef766c --- /dev/null +++ b/.drone.yml @@ -0,0 +1,37 @@ + kind: pipeline + name: default + + platform: + arch: arm64 + os: linux + + steps: + - name: build + image: plugins/hugo:linux-arm64 + platform: + arch: arm64 + os: linux + settings: + output: public + url: ["https://jon.kelbie.scot"] + buildFuture: true + validate: true + + - name: deploy + image: appleboy/drone-scp + settings: + host: 192.168.1.17 + target: /var/www/nipponalba/jon-site + source: public/* + username: jk + key: + from_secret: ssh_key + passphrase: + from_secret: ssh_pass + port: 9439 + when: + branch: + - master + event: + exclude: + - pull_request \ No newline at end of file