41 lines
739 B
YAML
41 lines
739 B
YAML
---
|
|
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:linux-arm64
|
|
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=
|