From 080b9b5baa79e52ec0cf4a8d1065f8a96a2b619c Mon Sep 17 00:00:00 2001 From: Luca Date: Tue, 6 Oct 2020 01:32:06 +0200 Subject: [PATCH] Add drone config --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8afefad --- /dev/null +++ b/.drone.yml @@ -0,0 +1,21 @@ +--- + +kind: pipeline +type: docker +name: default + +steps: + - name: deploy + image: alpine:3.12 + volumes: + - name: site + path: /var/www/html + commands: + - apk add --no-cache hugo + - hugo + - cp -r public/* /var/www/html + +volumes: + - name: site + host: + path: /srv/www/sites/www.franconian.net