commit af14d2fbcdd245631c3107c3a3f4ea9fb47a99aa from: plain_text_ date: Fri Oct 2 11:43:50 2026 UTC add deployment script commit - 5ae917abef11bb1633163fba9d14afe170dd8c3e commit + af14d2fbcdd245631c3107c3a3f4ea9fb47a99aa blob - /dev/null blob + 5bc801a2078c4ea679c1f683c31c4e2036a68a81 (mode 755) --- /dev/null +++ tools/deploy.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +repo=$1 ; commit=$2 ; dest=$3 + +git --git-dir="$repo" show $commit:index.html |\ + sed "s/{{ HEAD }}/$commit/g" > "$dest/index.html" + +git --git-dir="$repo" show $commit:robots.txt > "$dest/robots.txt"