This package has been deprecated

Author message:

WARNING: This project has been renamed to @koumoul/gh-pages-multi

gh-pages-multi

0.2.0 • Public • Published

gh-pages-multi

Simply push files to gh-pages on github and manage subdirectories. Easy way to publish documentation for multiple versions of a project for example.

npm i -g gh-pages-multi

Examples

Check out the gh-pages publication for this repo as an example of generated index.html.

Push the 'docs' directory into the gh-pages branch of the current repository in a 'latest' subdirectory.

gh-pages-multi deploy

Push the 'dist' directory into the gh-pages branch of the current repository in a 'v1.0.0' subdirectory.

gh-pages-multi deploy -s dist -t v1.0.0

Push the 'docs' directory into the gh-pages branch of the current repository in a 'latest' subdirectory, and erase all previous history concerning 'latest'. Very useful to prevent bloating the git repo if the pushed content contains built files for example.

gh-pages-multi deploy --no-history

Show help.

gh-pages-multi --help
gh-pages-multi deploy --help

Package Sidebar

Install

npm i gh-pages-multi

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

8.38 kB

Total Files

7

Last publish

Collaborators

  • albanm