Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 834 Bytes

HOWTO.md

File metadata and controls

41 lines (30 loc) · 834 Bytes

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