Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

. publish script

  • Loading branch information...
commit 72a2ea897a9f4ee0b1672b79e1ea286c65161803 1 parent 8b8c2b1
@kschiess authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  website/publish-gh-pages.sh
View
1  website/publish-gh-pages.sh
@@ -1,4 +1,5 @@
#!/bin/bash
doc_sha=$(git ls-tree -d HEAD build | awk '{print $3}')
+git cat-file -p $doc_sha
new_commit=$(echo "Auto-update docs." | git commit-tree $doc_sha -p refs/heads/gh-pages)
git update-ref refs/heads/gh-pages $new_commit
Please sign in to comment.
Something went wrong with that request. Please try again.