Skip to content
Browse files

Publish documentation to

  • Loading branch information...
1 parent d01e89e commit f8c48081da2b98dbbefe5e6ac4027631acad6b1e @floehopper committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 Rakefile
4 Rakefile
@@ -116,9 +116,7 @@ task 'generate_docs' => ['clobber_yardoc', 'yardoc']
desc "Publish docs to Github (relies on running 'generate_docs' task and committing changes to master branch)"
task 'publish_docs' do
- sha = `git ls-tree -d HEAD doc | awk '{print $3}'`.strip
- commit = `echo "Publishing docs from master branch" | git commit-tree #{sha} -p refs/heads/gh-pages`.strip
- `git update-ref refs/heads/gh-pages #{commit}`
+ `scp -r doc/* && ssh "sudo su - freerange -c 'sudo chmod -R g+w /home/freerange/docs/mocha'"`
task 'release' => 'default' do

0 comments on commit f8c4808

Please sign in to comment.
Something went wrong with that request. Please try again.