Merge remote-tracking branch 'canonical/next'
[sinan.git] / do-gh-pages
blob146fab1862f722661a5098d8e63364e1bd57e030
1 #!/bin/sh
3 PARENT_SHA=$(git show-ref -s refs/heads/gh-pages)
4 DOC_SHA=$(git ls-tree -d HEAD doc | awk '{print $3}')
5 NEW_COMMIT=$(echo "Auto-update docs." | git commit-tree $DOC_SHA -p $PARENT_SHA)
6 git update-ref refs/heads/gh-pages $NEW_COMMIT