From 395664d6cf51fb7caf3fb67aaefd397f76ad9166 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Tue, 28 May 2019 22:57:18 +0200 Subject: [PATCH] Test file for Drone --- .drone.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0cd8e28 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,46 @@ +kind: pipeline +name: default + +steps: + - name: build and deploy + image: jekyll/jekyll:2.5.3 + commands: + - apk update + - apk add rsync + - gem install atom-tools jekyll-tagging jekyll-itafroma-archive jekyll-archives + - jekyll build --destination /tmp/build + - rsync -rlpgoD /releases/ /tmp/build/releases/ + - rsync -rlpgoD /assets /tmp/build/ + - rsync -rlpgoD /tmp/build/ $WEBROOT/ + volumes: + - name: sites + path: /sites + - name: releases + path: /releases + - name: assets + path: /assets + when: + event: + - push + environment: + WEBROOT: /sites/dennogumi.org + + - name: notify + image: plugins/matrix + settings: + homeserver: https://conference.heavensinferno.net + roomid: NMyHktzhNpctHWeJN + accesstoken: + from_secret: access_token + userid: @dimension_service:conference.heavensinferno.net + +volumes: + - name: sites + host: + path: /srv/www/htdocs + - name: releases + host: + path: /srv/releases + - name: assets + host: + path: /srv/dennogumi-assets