summaryrefslogtreecommitdiff
path: root/post-update
diff options
context:
space:
mode:
authorGravatar steering7253 <steering7253@proton.me>2026-04-25 08:05:08 -0600
committerGravatar steering7253 <steering7253@proton.me>2026-04-25 08:05:08 -0600
commit9af8fca88f05bbbf1feec32d879f7a2a5a477fc8 (patch)
treedf18cadd06594f5626c023a6bb066319ebc0ae5b /post-update
parentinit (diff)
create GIT_DIR/info/webHEADmain
Diffstat (limited to 'post-update')
-rwxr-xr-xpost-update2
1 files changed, 2 insertions, 0 deletions
diff --git a/post-update b/post-update
index bef2cac..0fcf5c0 100755
--- a/post-update
+++ b/post-update
@@ -3,6 +3,8 @@
default_branch="$(git rev-parse --abbrev-ref HEAD)"
default_branch_path="$(git rev-parse --symbolic-full-name HEAD)"
+mkdir -p info/web
+
if git show "$default_branch":README.md >/dev/null 2>&1; then
git show "$default_branch":README.md | tee info/web/README.md | cmark >info/web/README.html
else