Ensure all.ics is copied to public/ after regeneration
This commit is contained in:
parent
18c0af1b2f
commit
1731cbf1e4
|
@ -35,6 +35,7 @@ build_calendar:
|
|||
- apk --no-cache update
|
||||
- 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
|
||||
|
||||
deploy_staging:
|
||||
|
|
Loading…
Reference in a new issue