lib/gh-pages

gh-pages module.

Source:

(require("lib/gh-pages"))(options)

Source:

Push to gh-pages branch for github

Parameters:
Name Type Description
options Object

that contains all the options of the plugin

  • remoteUrl: The {String} remote url (github repository) of the project,
  • origin: The {String} origin of the git repository (default to "origin"),
  • branch: The {String} branch where deploy will by done (default to "gh-pages"),
  • cacheDir: {String} where the git repo will be located. (default to a temporary folder)
  • push: {Boolean} to know whether or not the branch should be pushed (default to true)
  • message: {String} commit message (default to "Update [timestamp]")
Returns:

Stream.