This repository has been archived on 2021-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
pubscripts/.drone.yml

27 lines
673 B
YAML

---
kind: pipeline
name: publish to beta.lumbung.space
steps:
- name: generate new contents
image: python:alpine
environment:
CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export"
commands:
- mkdir -p output/{video,calendar}
- ./generate.sh
- ls -lhaR /drone/src/output
- name: publish new contents
image: 3wordchant/docker-cp-deploy:latest
settings:
host: lumbung.space
service: beta_lumbung_space_app
source: output
dest: /src/content
chdir: /drone/src
deploy_key:
from_secret: drone_ssh_lumbung.space
trigger:
branch:
- main