Commit Diff
--- /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"
