From 72a11848f075c18e7a30250a11f133627246bba3 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Mon, 11 Jan 2021 12:39:07 +0100 Subject: [PATCH] Initial CI conf --- .drone.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..2599186 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,40 @@ +--- +kind: pipeline +type: docker +name: build + +platform: + os: linux + arch: arm64 + +steps: +- name: submodules + image: alpine/git + commands: + - git submodule update --recursive --init +- name: build + image: python:3.8-alpine + commands: + - apk add make + - pip install pipenv + - pipenv install --system + - make html +- name: publish + image: appleboy/drone-scp + settings: + host: + - grace.lan + user: georg + key: + from_secret: ssh_key + port: 22 + target: /media/raid01/docker/nginx/html/blog.lediver.se + source: + - output/* + strip_components: 1 + rm: true + +--- +kind: secret +name: minio_key +data: d73wzEocAjMRnM84+/4JZkv6dKhCqbF5O1tKrkR7PU1fL1iwkye/lSA0LIIkbmu74YfCPxs9THY+IOpgxc6XA3HY2gY=