From 9e35e06f9876f26f0c0b5f4f07c339f1ae9eff3f Mon Sep 17 00:00:00 2001 From: Ahmed Date: Sun, 14 Jun 2026 16:39:49 +0300 Subject: add: hooks and other vibed edits --- build/templates/partials/footer.html | 11 ----------- build/templates/partials/head.html | 2 +- hooks/post-receive | 6 ++++++ 3 files changed, 7 insertions(+), 12 deletions(-) create mode 100644 hooks/post-receive diff --git a/build/templates/partials/footer.html b/build/templates/partials/footer.html index 6dca778..7fe90b1 100644 --- a/build/templates/partials/footer.html +++ b/build/templates/partials/footer.html @@ -1,16 +1,5 @@ diff --git a/build/templates/partials/head.html b/build/templates/partials/head.html index f9f143e..babe762 100644 --- a/build/templates/partials/head.html +++ b/build/templates/partials/head.html @@ -8,4 +8,4 @@ {{#HAS_CODE}} {{/HAS_CODE}} - + diff --git a/hooks/post-receive b/hooks/post-receive new file mode 100644 index 0000000..4734e3c --- /dev/null +++ b/hooks/post-receive @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +cd /home/git/build/ubergeek +bash build.sh +rsync -rlptD --delete output/ /var/www/ubergeek.gumx.cc/ +echo "ubergeek deployed" -- cgit v1.2.3