Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes the publish script

  • Loading branch information...
commit 6482f6c4821caf502a2857ba6e1d87d5199500a8 1 parent f443b15
@kschiess authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 website/publish-gh-pages.sh
View
4 website/publish-gh-pages.sh
@@ -1,5 +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
+new_commit=$(echo "Auto-update docs." | git commit-tree $doc_sha -p gh-pages)
+git update-ref gh-pages $new_commit
Please sign in to comment.
Something went wrong with that request. Please try again.