Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (5 sloc) 243 Bytes
#!/bin/sh
PARENT_SHA=$(git show-ref -s refs/heads/gh-pages)
DOC_SHA=$(git ls-tree -d HEAD doc | awk '{print $3}')
NEW_COMMIT=$(echo "Auto-update docs." | git commit-tree $DOC_SHA -p $PARENT_SHA)
git update-ref refs/heads/gh-pages $NEW_COMMIT
Something went wrong with that request. Please try again.