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