Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (30 sloc) 0.834 kb

Steps to publish a Riding Rails article

  1. Clone the weblog repository

    $ git clone git@github.com:rails/weblog.git
  2. Checkout the gh-pages branch

    $ cd weblog && git checkout gh-pages
  3. Create a post in the _posts directory with the date and permalink in the name

    $ vi _posts/YYYY-MM-DD-permalink.format
  4. Write your post

    ---
    layout: post
    title: Your post title
    categories: [Releases,Edge]
    author: Your Name
    published: true
    date: 2012-03-07 19:22:00 +00:00
    ---
    Your post content in HTML, Textile or Markdown format
  5. Commit and push

    $ git add . && git commit -m 'My commit message' && git push
  6. There is no step six - GitHub will rebuild the _site directory

Jump to Line
Something went wrong with that request. Please try again.