Initial CI conf
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
8b26afc680
commit
72a11848f0
|
@ -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=
|
Loading…
Reference in New Issue