bumped-gh-pages
Version:
Publishing files on GitHub Pages.
63 lines (41 loc) • 1.61 kB
Markdown
# bumped-gh-pages
<h1 align="center">
<br>
<img src="http://i.imgur.com/DmMbFwL.png" alt="bumped">
<br>
<br>
</h1>

[](https://david-dm.org/bumped/bumped-gh-pages)
[](https://david-dm.org/bumped/bumped-gh-pages#info=devDependencies)
[](https://www.npmjs.org/package/bumped-gh-pages)
[](https://paypal.me/kikobeats)
> Publishing files on GitHub Pages.
Configure your .bumpedrc adding a entry for `bumped-gh-pages` as the follow example:
```cson
files: [
'package.json'
]
plugins:
postrelease:
'Publishing at GitHub Pages':
plugin: 'bumped-gh-pages'
folder: 'dist'
```
## Install
> You don't need to install it! Bumped automatically resolve the plugins dependencies. However if you still want to do so must be globally accessible:
```bash
$ npm install -g bumped-gh-pages
```
## API
### folder
*Required*
Type: `string`
The base directory for all source files.
- `$newVersion`: The bumped version before the release.
- `$oldVersion`: The bumped version after the release.
### opts
Type: `object`
Additional options to be passed to [gh-pages](https://github.com/tschaub/gh-pages).
## License
MIT © Bumped