README
ape-deploying
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.