Wire up first stab at automation
This commit is contained in:
24
.drone.yml
Normal file
24
.drone.yml
Normal 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
|
||||
Reference in New Issue
Block a user