diff options
| author | Ahmed <git@gumx.cc> | 2026-06-14 16:42:47 +0300 |
|---|---|---|
| committer | Ahmed <git@gumx.cc> | 2026-06-14 16:42:47 +0300 |
| commit | e78b6593297d102392abb86b4a5a58068431c294 (patch) | |
| tree | 20e23345188c8a299ab39aa290de2f1d22c01071 | |
| parent | 4cec94ece9f0ad2c46dc3e9a8b668771cf7b9c6b (diff) | |
| -rw-r--r-- | config.toml | 2 | ||||
| -rw-r--r-- | hooks/post-receive | 6 |
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/" |
