Wire up first stab at automation

This commit is contained in:
decentral1se
2021-07-13 11:34:51 +02:00
commit a5ffbaf902
4 changed files with 70 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
---
kind: pipeline
name: publish to beta.lumbung.space
steps:
- name: generate new contents
image: python:alpine
environment:
OUTPUT_DIR: /drone/src/output
CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export"
commands:
- ./generate.sh
- name: publish new contents
image: 3wordchant/docker-cp-deploy:latest
settings:
host: lumbung.space
service: beta_lumbung_space_app
source: /drone/src/output
dest: /src/content
deploy_key:
from_secret: drone_ssh_lumbung.space
trigger:
branch:
- main