From 4122f50cb1ed93754fc60104587d15a52e2cfd1e Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Mon, 5 Aug 2024 17:26:56 +0200 Subject: [PATCH] Canary Hugo website on chrma0 -- currently drained --- .drone.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f316612 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,32 @@ +kind: pipeline +name: default + +steps: + - name: git-lfs + image: alpine/git + commands: + # - git submodule update --init --recursive --remote + - git lfs install + - git lfs pull + - name: build + image: plugins/hugo + settings: + hugo_version: 0.79.0 + extended: true + validate: true + - name: rsync + image: drillster/drone-rsync + settings: + user: drone + key: + from_secret: drone_sshkey + hosts: + - nginx0.chrma0.net.ipng.ch + port: 22 + args: '-6' + source: public/ + target: /var/www/ipng.ch/ + delete: true + recursive: true + secrets: [ drone_sshkey ] +