Attempt to fix copying logic
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
decentral1se 2021-07-13 12:45:55 +02:00
parent 73850d888a
commit 831637b99b
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -5,9 +5,10 @@ steps:
- name: generate new contents - name: generate new contents
image: python:alpine image: python:alpine
environment: environment:
OUTPUT_DIR: /drone/src/output OUTPUT_DIR: output
CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export" CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export"
commands: commands:
- mkdir -p output
- ./generate.sh - ./generate.sh
- name: publish new contents - name: publish new contents
@ -15,7 +16,7 @@ steps:
settings: settings:
host: lumbung.space host: lumbung.space
service: beta_lumbung_space_app service: beta_lumbung_space_app
source: /drone/src/output source: output/*
dest: /src/content dest: /src/content
deploy_key: deploy_key:
from_secret: drone_ssh_lumbung.space from_secret: drone_ssh_lumbung.space