misc clean-ups

master
Tom Vaughan 2012-09-04 10:30:52 -07:00
parent 8694bb8fb2
commit a832143c87
2 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@ If deploying through `rsync`, be sure it is installed.
Edit `Gemfile`, and add:
gem "middleman-deploy"
gem "middleman-deploy", "~>0.0.1"
Then run:
@ -35,9 +35,9 @@ Edit `config.rb`, and add:
activate :deploy do |deploy|
deploy.method = :rsync
deploy.user = "tvaughan"
deploy.host = "www.example.com"
deploy.path = "/srv/www/site"
deploy.user = "tvaughan"
deploy.host = "www.example.com"
deploy.path = "/srv/www/site"
end
Adjust these values accordingly.
@ -56,7 +56,7 @@ To remove orphaned files or directories on the remote host, add:
Default is `false`.
### Step 4b - Github Pages setup
### Step 4b - GitHub Pages setup
Edit `config.rb`, and add:
@ -69,7 +69,7 @@ github set up as `origin` and a working `gh-pages` branch already in place.
### Step 5
middleman build
middleman build [--clean]
middleman deploy
### NOTES

View File

@ -99,7 +99,7 @@ EOF
end
def deploy_git
puts "## Deploying to Github Pages"
puts "## Deploying to GitHub Pages"
Dir.mktmpdir do |tmp|
# clone ./ with branch gh-pages to tmp
repo = Git.clone(ENV['MM_ROOT'], tmp)