commit 619edb3719ff685bd8f57d085ebe933d4a0468ec Author: irrlicht Date: Mon Apr 20 18:42:03 2026 +0200 Init Repo diff --git a/.githooks/pre-push b/.githooks/pre-push new file mode 100755 index 0000000..20cee99 --- /dev/null +++ b/.githooks/pre-push @@ -0,0 +1,10 @@ +#!/bin/sh +set -e + +echo "Baue Hugo-Seite..." +hugo + +echo "Deploye nach deploy@bnd.wtf..." +rsync -avz --delete public/ deploy@bnd.wtf:/srv/www/loveleylizard.com/ + +echo "Deploy erfolgreich." diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8dd6d56 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +public/ +.hugo_build.lock diff --git a/README.md b/README.md new file mode 100644 index 0000000..e153d42 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Stinkwurzpresse + +Hugo-Seite für [loveleylizard.com](https://loveleylizard.com/). + +## Setup auf einem neuen Gerät + +Nach dem Klonen einmalig ausführen, damit der Deploy-Hook aktiv ist: + +```sh +git config core.hooksPath .githooks +``` + +## Deploy + +`git push` baut die Seite automatisch mit Hugo und deployt per rsync nach `deploy@bnd.wtf:/srv/www/loveleylizard.com/`. Voraussetzung: Hugo installiert, SSH-Key für `deploy@bnd.wtf` vorhanden. diff --git a/index.html b/index.html new file mode 100644 index 0000000..980a0d5 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +Hello World!