From 1f52492f208e60e393114a3ce11be0570b99ba0e Mon Sep 17 00:00:00 2001 From: irrlicht Date: Sat, 18 Apr 2026 13:23:10 +0200 Subject: [PATCH] =?UTF-8?q?Git-Hook=20f=C3=BCr=20Build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .githooks/pre-push | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 .githooks/pre-push diff --git a/.githooks/pre-push b/.githooks/pre-push new file mode 100755 index 0000000..50bb1ce --- /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/stinkwurzpresse.de/ + +echo "Deploy erfolgreich."