O'Reilly logo

Grunt Cookbook by Jurie-Jan Botha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying to GitHub Pages

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.

Getting ready

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required