diff options
| author | Ahmed <git@gumx.cc> | 2026-06-18 00:11:28 +0300 |
|---|---|---|
| committer | Ahmed <git@gumx.cc> | 2026-06-18 00:11:28 +0300 |
| commit | feea3d65ed9c56a83313955fa23397374efc631b (patch) | |
| tree | 96eba8627c58ec752aea382f433c16f542ff1c65 /hooks/post-receive | |
| parent | f5d77b11ad0de64f4785b17641f7840b811ff8ba (diff) | |
fix: favicon, and inner pages style
Diffstat (limited to 'hooks/post-receive')
| -rw-r--r-- | hooks/post-receive | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/hooks/post-receive b/hooks/post-receive index fe4f5f6..25ae829 100644 --- a/hooks/post-receive +++ b/hooks/post-receive @@ -22,7 +22,14 @@ for SITE in irc.gumx.cc vpn.gumx.cc mail.gumx.cc pgp.gumx.cc wk.fo twt.gumx.cc f ;; demo.gumx.cc) # no-style-please/ is managed by zola-no-style-please repo; demos.json is a source file - rsync -rlptD --delete --exclude='/fonts' --exclude='/no-style-please/' --exclude='/demos.json' "$SITE/" "$WEBROOT/" + # /ccc/ and /styles/ are managed by ccc repo hook — do not delete + rsync -rlptD --delete \ + --exclude='/fonts' \ + --exclude='/no-style-please/' \ + --exclude='/demos.json' \ + --exclude='/ccc/' \ + --exclude='/styles/' \ + "$SITE/" "$WEBROOT/" ;; *) rsync -rlptD --delete --exclude='/fonts' "$SITE/" "$WEBROOT/" @@ -30,6 +37,7 @@ for SITE in irc.gumx.cc vpn.gumx.cc mail.gumx.cc pgp.gumx.cc wk.fo twt.gumx.cc f esac mkdir -p "$WEBROOT/fonts" rsync -rlptD fonts/ "$WEBROOT/fonts/" + cp _shared/favicon.svg "$WEBROOT/favicon.svg" cp _shared/404.html "$WEBROOT/404.html" fi done |
