Added github branch fetching

This commit is contained in:
2026-03-30 21:13:50 +02:00
parent a8a2b3f95a
commit e81286b394
6 changed files with 272 additions and 9 deletions
+2
View File
@@ -13,6 +13,8 @@ func Register(app *fiber.App, cfg *config.Config) {
api := app.Group("/api")
api.Get("/health", handlers.HealthCheck)
api.Post("/update", handlers.NewUpdateSiteHandler(cfg))
storagePath, err := filepath.Abs(cfg.Global.StoragePath)
if err != nil {
log.Fatalf("Failed to resolve storage path: %v", err)