Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

ape-deploying

5.1.1 • Public • Published

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

Keywords

Install

npm i ape-deploying

DownloadsWeekly Downloads

11

Version

5.1.1

License

MIT

Last publish

Collaborators

  • avatar