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

Readme

Keywords

Package Sidebar

Install

npm i ape-deploying

Weekly Downloads

24

Version

5.1.1

License

MIT

Last publish

Collaborators

  • okunishinishi