www/build.sh

9 lines
212 B
Bash
Raw Permalink Normal View History

2023-06-13 12:47:07 +02:00
#!/bin/sh
2019-03-13 23:45:59 +01:00
hugo $(cat .hugo-params)
2023-06-13 12:47:07 +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
2023-06-13 12:47:07 +02:00