Initial CI conf
continuous-integration/drone/push Build is failing Details

pull/3/head
Georg Krause 2021-01-11 12:39:07 +01:00
parent 8b26afc680
commit 72a11848f0
No known key found for this signature in database
GPG Key ID: FD479B9A4D48E632
1 changed files with 40 additions and 0 deletions

40
.drone.yml Normal file
View File

@ -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=