Init Repo

This commit is contained in:
2026-04-20 18:42:03 +02:00
commit 619edb3719
4 changed files with 28 additions and 0 deletions
+10
View File
@@ -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."
+2
View File
@@ -0,0 +1,2 @@
public/
.hugo_build.lock
+15
View File
@@ -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.
+1
View File
@@ -0,0 +1 @@
Hello World!