deploy-pages

Deploy provider for github pages.

Deploys the site to github pages.

GithubPagesProvider.prototype.validate(info)

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.

GithubPagesProvider.prototype.tag()

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.