ape-deploying

Deploying module of ape framework.


Keywords
ape, deploying
License
MIT
Install
npm install ape-deploying@4.0.1

Documentation

ape-deploying

Build Status npm Version JS Standard

Deploying module of ape framework.

Usage

Deploy to GitHub Pages

Deploy subdirectory to GitHub Pages using git subtree.

#!/usr/bin/env node
'use strict'

const apeDeploying = require('ape-deploying')

apeDeploying.deployGhPages('doc', {}).then(() => {
  /* ... */
})

Deploy to GitHub Wiki

Deploy files to GitHub Wiki page.

#!/usr/bin/env node
'use strict'

const apeDeploying = require('ape-deploying')

const wikiUrl = 'https://github.com/okunishinishi/node-coz.wiki.git'

apeDeploying.deployGhWiki('doc/wiki/*.md', wikiUrl, {
  clean: true
}).then(() => {
  /* ... */
})

License

This software is released under the MIT License.

Links