aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-14 16:42:47 +0300
committerAhmed <git@gumx.cc>2026-06-14 16:42:47 +0300
commite78b6593297d102392abb86b4a5a58068431c294 (patch)
tree20e23345188c8a299ab39aa290de2f1d22c01071
parent4cec94ece9f0ad2c46dc3e9a8b668771cf7b9c6b (diff)
add: hooks and other vibed editsHEADmain
-rw-r--r--config.toml2
-rw-r--r--hooks/post-receive6
2 files changed, 7 insertions, 1 deletions
diff --git a/config.toml b/config.toml
index da374ac..3cb99e0 100644
--- a/config.toml
+++ b/config.toml
@@ -1,4 +1,4 @@
-base_url = "https://zola-no-style-please.demo.gumx.cc"
+base_url = "https://demo.gumx.cc/no-style-please"
title = "no style, please!"
description = "A (nearly) no-CSS, fast, minimalist Zola theme."
diff --git a/hooks/post-receive b/hooks/post-receive
new file mode 100644
index 0000000..8da5c7a
--- /dev/null
+++ b/hooks/post-receive
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+cd /home/git/build/zola-no-style-please
+zola build --base-url "https://demo.gumx.cc/no-style-please/"
+rsync -rlptD --delete public/ /var/www/demo.gumx.cc/no-style-please/
+echo "zola-no-style-please deployed to demo.gumx.cc/no-style-please/"