deployment actions and git cleanup

This commit is contained in:
bronku 2026-06-08 13:51:45 +02:00
parent dd50d34703
commit d4bcd0d466
16 changed files with 103 additions and 1166 deletions

View file

@ -1,5 +1,7 @@
package main
//go:generate go tool templ generate templates
import (
"context"
"fmt"
@ -113,6 +115,9 @@ func main() {
mustCopy("img/favicon.avif", "www/images/favicon.avif")
mustCopy("img/logo.svg", "www/images/logo.svg")
mustCopy("js/portfolio.js", "www/portfolio.js")
if len(os.Args) > 1 {
return
}
log.Println("listening on :8000")
log.Fatal(http.ListenAndServe(":8000", http.FileServer(http.Dir("www"))))
}