justo-plugin-gh-pages
v0.1.0
Published
Task to publish GitHub Pages.
Maintainers
Readme
Task to publish GitHub Pages.
Proudly made with ♥ in Valencia, Spain, EU.
Install
npm install justo-plugin-gh-pagesDependencies:
- We must have installed the
gitcommand.
Task
To publish GitHub Pages, we must invoke the task as follows:
ghpages(opts, config)The config options:
type(string). The GitHub Pages type:project.src(string). The directory to publish into thegh-pagesbranch whentypeisproject.
Example:
const ghpages = require("justo-plugin-gh-pages");
ghpages("Publish GitHub Pages", {
type: "project",
src: "dist/"
});