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 /hooks/post-receive | |
| parent | 4cec94ece9f0ad2c46dc3e9a8b668771cf7b9c6b (diff) | |
Diffstat (limited to 'hooks/post-receive')
| -rw-r--r-- | hooks/post-receive | 6 |
1 files changed, 6 insertions, 0 deletions
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/" |
