This repo contains the source of our website at: https://section77.de.
We use Lektor to build our static site.
The site will be build from this GitHub action
- on every push on the master branch
- at 02:30 UTC every day (to remove past events from the calendar on the main page)
chaostreff-scheduler is our event scheduler.
This GitHub action triggers the scheduling
- at 02:01 UTC on the 1st of every month
- when someone pushes changes to 'templates/chaostreff-scheduler/'
You can find the templates for the events under templates/chaostreff-scheduler. If the events are already scheduled, you need to remove the generated files under content/kalender/...'.
The scheduler doesn't override existing events.
Then you can push your changes, and the GitHub action will run the scheduler.
If you remove a event, chaostreff-scheduler
will reschedule the event. You can rename the event
from contents.lr
to contents.lr.ignore
to prevent this.
You can change this file and push your changes. This triggers the GitHub action.
When the chaostreff-scheduler is changed, default.nix must be updated with the current commit hash and the nix hash need to be set to "". Then nix will complain and generate the actual nix hash (to be looked up in the ci job). This hash then needs to be inserted in the default.nix file.
From time to time or if HTTP Status 404, the nixos channel must be updated in the workflows and in the default.nix file. You'll get the current one at Nix Channel Status.