This commit is contained in:
parent
73850d888a
commit
831637b99b
@ -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
|
||||||
|
Reference in New Issue
Block a user