1 | ape-deploying
|
2 | ==========
|
3 |
|
4 |
|
5 | This file is generated by ape-tmpl. Do not update manually.
|
6 | --->
|
7 |
|
8 |
|
9 | <a name="badges"></a>
|
10 |
|
11 | [![Build Status][bd_travis_shield_url]][bd_travis_url]
|
12 | [![npm Version][bd_npm_shield_url]][bd_npm_url]
|
13 | [![JS Standard][bd_standard_shield_url]][bd_standard_url]
|
14 |
|
15 | [bd_repo_url]: https://github.com/ape-repo/ape-deploying.git
|
16 | [bd_travis_url]: http://travis-ci.org/ape-repo/ape-deploying.git
|
17 | [bd_travis_shield_url]: http://img.shields.io/travis/ape-repo/ape-deploying.git.svg?style=flat
|
18 | [bd_travis_com_url]: http://travis-ci.com/ape-repo/ape-deploying.git
|
19 | [bd_travis_com_shield_url]: https://api.travis-ci.com/ape-repo/ape-deploying.git.svg?token=
|
20 | [bd_license_url]: https://github.com/ape-repo/ape-deploying.git/blob/master/LICENSE
|
21 | [bd_codeclimate_url]: http://codeclimate.com/github/ape-repo/ape-deploying.git
|
22 | [bd_codeclimate_shield_url]: http://img.shields.io/codeclimate/github/ape-repo/ape-deploying.git.svg?style=flat
|
23 | [bd_codeclimate_coverage_shield_url]: http://img.shields.io/codeclimate/coverage/github/ape-repo/ape-deploying.git.svg?style=flat
|
24 | [bd_gemnasium_url]: https://gemnasium.com/ape-repo/ape-deploying.git
|
25 | [bd_gemnasium_shield_url]: https://gemnasium.com/ape-repo/ape-deploying.git.svg
|
26 | [bd_npm_url]: http://www.npmjs.org/package/ape-deploying
|
27 | [bd_npm_shield_url]: http://img.shields.io/npm/v/ape-deploying.svg?style=flat
|
28 | [bd_standard_url]: http://standardjs.com/
|
29 | [bd_standard_shield_url]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | <a name="description"></a>
|
36 |
|
37 | Deploying module of ape framework.
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 | <a name="sections"></a>
|
46 |
|
47 |
|
48 |
|
49 | <a name="section-doc-guides-02-usage-md"></a>
|
50 |
|
51 | Usage
|
52 | ----
|
53 |
|
54 | ### Deploy to GitHub Pages
|
55 |
|
56 | Deploy subdirectory to GitHub Pages using git subtree.
|
57 |
|
58 | ```javascript
|
59 | #!/usr/bin/env node
|
60 | 'use strict'
|
61 |
|
62 | const apeDeploying = require('ape-deploying')
|
63 |
|
64 | apeDeploying.deployGhPages('doc', {}).then(() => {
|
65 | /* ... */
|
66 | })
|
67 |
|
68 | ```
|
69 |
|
70 | ### Deploy to GitHub Wiki
|
71 |
|
72 | Deploy files to GitHub Wiki page.
|
73 |
|
74 | ```javascript
|
75 | #!/usr/bin/env node
|
76 | 'use strict'
|
77 |
|
78 | const apeDeploying = require('ape-deploying')
|
79 |
|
80 | const wikiUrl = 'https://github.com/okunishinishi/node-coz.wiki.git'
|
81 |
|
82 | apeDeploying.deployGhWiki('doc/wiki/*.md', wikiUrl, {
|
83 | clean: true
|
84 | }).then(() => {
|
85 | /* ... */
|
86 | })
|
87 | ```
|
88 |
|
89 |
|
90 |
|
91 |
|
92 |
|
93 |
|
94 |
|
95 |
|
96 | <a name="license"></a>
|
97 |
|
98 | License
|
99 | -------
|
100 | This software is released under the [MIT License](https://github.com/ape-repo/ape-deploying.git/blob/master/LICENSE).
|
101 |
|
102 |
|
103 |
|
104 |
|
105 |
|
106 | <a name="links"></a>
|
107 |
|
108 | Links
|
109 | ------
|
110 |
|
111 | + [ape-repo][ape_repo_url]
|
112 | + [GitHub Pages][git_hub_pages_url]
|
113 |
|
114 | [ape_repo_url]: https://github.com/ape-repo
|
115 | [git_hub_pages_url]: https://pages.github.com/
|
116 |
|
117 |
|