From e3cbe864be14e54516b2c87ababf3bbeb8504127 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Wed, 14 Aug 2019 00:32:02 +0200 Subject: [PATCH] =?UTF-8?q?Hauptseite:=20Zeige=20Termine=20der=20n=C3=A4ch?= =?UTF-8?q?sten=2020=20Tage.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 +- build.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e812b66..dd2436b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ build_calendar: - pip install -r requirements.txt - python tools/merge_cals.py - cp static/all.ics public/all.ics - - upcoming="$(python tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html + - upcoming="$(python tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')" && sed -i "s#CALENDAR#$upcoming#g" public/index.html deploy_staging: image: "alpine:3.8" diff --git a/build.sh b/build.sh index 4489ab6..dac88b4 100755 --- a/build.sh +++ b/build.sh @@ -2,6 +2,6 @@ hugo $(cat .hugo-params) tools/merge_cals.py -upcoming="$(tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')" +upcoming="$(tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')" cp static/all.ics public/all.ics sed -i "s#CALENDAR#$upcoming#g" public/index.html