www/build.sh

8 lines
215 B
Bash
Raw Normal View History

#!/usr/bin/env sh
2019-03-13 23:45:59 +01:00
hugo $(cat .hugo-params)
2018-07-14 22:53:59 +02:00
tools/merge_cals.py
upcoming="$(tools/gen_upcoming.py static/all.ics 20 5|tr '\n' ' ')"
cp static/all.ics public/all.ics
2018-07-14 22:53:59 +02:00
sed -i "s#CALENDAR#$upcoming#g" public/index.html