README.md in octopress-3.0.6 vs README.md in octopress-3.0.7

- old
+ new

@@ -1,11 +1,11 @@ # Octopress Octopress is an obsessively designed toolkit for writing and deploying Jekyll blogs. Pretty sweet, huh? -[![Gem Version](https://badge.fury.io/rb/octopress.png)](http://badge.fury.io/rb/octopress) -[![Build Status](https://travis-ci.org/octopress/octopress.png?branch=master)](https://travis-ci.org/octopress/octopress) +[![Gem Version](https://badge.fury.io/rb/octopress.svg)](http://badge.fury.io/rb/octopress) +[![Build Status](https://travis-ci.org/octopress/octopress.svg?branch=master)](https://travis-ci.org/octopress/octopress) ## Installation Add this line to your application's Gemfile: @@ -31,10 +31,11 @@ new draft <TITLE> # Add a new draft post to your site publish <POST> # Publish a draft from _drafts to _posts unpublish <POST> # Search for a post and convert it into a draft isolate [POST] # Stash all posts but the one you're working on for a faster build integrate # Restores all posts, doing the opposite of the isolate command +deploy # deploy your site via S3, Cloudfront, Rsync, or to GitHub pages. ``` Run `octopress --help` to list sub commands and `octopress <subcommand> --help` to learn more about any subcommand and see its options. ### Init @@ -179,11 +180,11 @@ | Variable | Description | |:-------------------|:------------------------------------------| | `date` | The date (if set) or Time.now.iso8601 | | `title` | The title of the page (if set) | | `slug` | The title in slug form | -| `ymd` | The date string, YYYY/MM/DD format | +| `ymd` | The date string, YYYY-MM-DD format | | `year` | The date's year | | `month` | The date's month, MM | | `day` | The date's day, DD | By default Octopress has templates for pages, posts and drafts. You can change them or create new ones for different types of content. @@ -241,9 +242,29 @@ # Change default template file (in _templates/) post_template: post page_template: page draft_template: draft ``` + +## Deployment + +The Octopress gem comes with [octopress-deploy](https://github.com/octopress/deploy) which allows you to easily deploy your site with Rsync, on S3 or Cloudfront, to GitHub pages, or other Git based deployment hosting platforms. + +### Basic usage + +``` +octopress deploy init METHOD [options] # git, s3, or rsync - Create a _deploy.yml configuration +octopress deploy # Deploys _site based on deployment configuration +octopress pull DIR # Download your deployed site to the specified DIR +``` + +You can find more detailed documentation by running: + +``` +$ octopress deploy --help +``` + +Or by visiting the [Octopress deploy project page](https://github.com/octopress/deploy). ## Contributing 1. Fork it ( https://github.com/octopress/octopress/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`)