removed test code and removed filmabend

This commit is contained in:
Marek Krug 2025-02-11 23:12:21 +01:00
commit dec4fce900
5 changed files with 8 additions and 12 deletions

View file

@ -63,10 +63,7 @@ jobs:
- name: Copy calendar to output dir - name: Copy calendar to output dir
run: cp static/all.ics public/all.ics run: cp static/all.ics public/all.ics
- name: Update homepage with latest event - name: Update homepage with latest event
run: | run: upcoming="$(python tools/gen_upcoming.py static/all.ics 20 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
echo $upcoming
cat public/index.html
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
name: Upload pages name: Upload pages
with: with:

3
.gitignore vendored
View file

@ -98,3 +98,6 @@ $RECYCLE.BIN/
.envrc .envrc
shell.nix shell.nix
.direnv .direnv
# Python
.venv

View file

@ -3,9 +3,5 @@
hugo $(cat .hugo-params) hugo $(cat .hugo-params)
./tools/merge_cals.py ./tools/merge_cals.py
upcoming="$(tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" upcoming="$(tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')"
echo $upcoming
cat public/index.html
cp static/all.ics public/all.ics cp static/all.ics public/all.ics
sed -i "s#CALENDAR#$upcoming#g" public/index.html sed -i "s#CALENDAR#$upcoming#g" public/index.html
cat public/index.html
echo $upcoming

View file

@ -0,0 +1,10 @@
---
title: "Bastelabend"
subtitle: "Der Bastelabend jeden 1. und 3. Samstag im Monat"
date: 2025-01-08T20:00:00+02:00
dtstart: 20250118T170000
dtend: 20250118T230000
rrule: "FREQ=MONTHLY;BYDAY=1SA,3SA;WKST=MO"
---
**Jeden 1. und 3. Samstag im Monat ist ab 17 Uhr Bastelabend im Club.**

View file

@ -0,0 +1,13 @@
---
title: "Tag Des Offenen Hackerspace"
subtitle: "Der CCCB lädt ein zum kennenlernen und entdecken."
date: 2025-03-29T13:00:00+02:00
dtstart: 20250329T130000
dtend: 20250329T200000
---
Der [Tag des offenen Hackerspace](https://events.ccc.de/2024/02/23/tag-des-offenen-hackspace-einladung/) findet dieses Jahr auch im CCCB statt.
Es wird Führungen durch die Räume geben und Möglichkeiten zum kennenlernen und Spaß am Gerät.
- Programm folgt :-)