@koumoul/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.
Last updated 2 years ago by albanm .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @koumoul/gh-pages-multi 
SYNC missed versions from official npm registry.

gh-pages-multi

Simply push files to gh-pages on github and manage subdirectories. Also create a index.html file listing subdirectories as root. Easy way to publish documentation for multiple versions of a project for example.

npm i -g @koumoul/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

Propose a better target directory name from a branch/tag name.

gh-pages-multi better-target v2.0.0

Show help.

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

Current Tags

  • 0.7.1                                ...           latest (2 years ago)

8 Versions

  • 0.7.1                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 8
Last Month 9
Dependencies (9)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |