Deploy provider for github pages.

Deploys the site to github pages.


Validates that the working directory is safe for a deployment.

It is also responsible for propagating the info argument with useful information such as the list of tags and branches and the current branch.

Returns a promise that resolves once all validations pass.


Default implementation for getting a deployment tag.

Requires package.json in the current working directory, extracts the package version and prepends a deploy-v prefix.

Returns deployment tag.

GithubPagesProvider.prototype.deploy(context, config)

Perform the deployment.

This is the function that is called by the deploy-site plugin.

Returns a promise that resolves once deployment is complete.