12
0
Fork
You've already forked website
0
Website of section77 e.V. https://section77.de
  • CSS 92.4%
  • HTML 5.6%
  • Nix 0.9%
  • Go Template 0.6%
  • SCSS 0.5%
Find a file
chaostreff-scheduler 0433be19fd chaostreff-scheduler
2026年07月07日 17:09:30 +00:00
.forgejo/workflows fix: Fix rsync invocation 2026年03月16日 19:40:50 +01:00
.github compact scheduler 2025年07月02日 21:22:23 +02:00
assets Add new 2.1 logo 2025年12月23日 22:39:34 +01:00
content chaostreff-scheduler 2026年07月07日 17:09:30 +00:00
flowblocks
models Add end datetime filed to model 2023年04月01日 23:48:09 +02:00
templates Revert "chore: Add template file for frab xml file" 2025年02月25日 23:13:55 +01:00
.envrc fix nix ( #82 ) 2025年07月02日 20:24:26 +02:00
.gitignore Add .direnv to nixignore for local build cache ( #83 ) 2025年07月02日 20:58:52 +02:00
flake.lock update content changes from github 2025年08月15日 18:38:21 +02:00
flake.nix update content changes from github 2025年08月15日 18:38:21 +02:00
README.md Update README.md 2024年01月16日 15:00:00 +01:00
section77.lektorproject
Vagrantfile Add Vagrantfile 2024年01月27日 19:25:37 +01:00

Section77 website

This repo contains the source of our website at: https://section77.de.

Page deployment

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)

Event scheduling

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/'

How-to

Change the text for the generated events

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.

Unschedule an event

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.

Trigger the GitHub action to generate the events

You can change this file and push your changes. This triggers the GitHub action.

Update chaostreff-scheduler

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.

Update nixos

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.