Archived
Watch
0
0
Fork
You've already forked www
0
This repository has been archived on 2025-03-09. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
www/build.sh

8 lines
212 B
Shell
Executable file

#!/bin/sh
hugo $(cat .hugo-params)
./tools/merge_cals.py
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