In this recipe, we'll make use of the gh-pages (0.10.0)
plugin to publish our site to the GitHub Pages service.
The GitHub Pages service provides a simple way for GitHub users to host static sites related to themselves, their organizations, or their projects. At the core of this service lies the standard GitHub service that provides hosting for Git-based code repositories.
In this example, we'll work with the basic project structure that we created in the Installing Grunt on a project recipe in Chapter 1, Getting Started with Grunt. Be sure to refer to it if you are not yet familiar with its contents.
In addition to the standard project setup, the following recipe will require a GitHub user account that has the appropriate public key (SSH) associated with it.
Tip
Please refer to the following URL for help to create and set up SSH keys for your GitHub account:
We'll also need to create a repository called...