add-deploy-key-to-github
v1.0.1
Published
Add deploy to GitHub from command line.
Downloads
3
Readme
add-deploy-key-to-github
Add deploy to GitHub from command line.
Install
Install with npm:
npm install -g add-deploy-key-to-github
Requirement: Node.js v6 >=
Usage
CLI usage
Usage
$ add-deploy-key-to-github --repo azu/add-deploy-key-to-github --key path/to/key.pub --token $GH_TOKEN
Options
--repo <owner>/<name>
--key path to deploy key file(.pub)
--token GitHub token
--read_only if it is set, deploy key as read_only key
Default: false (write)
Examples
$ add-deploy-key-to-github --repo azu/add-deploy-key-to-github --key path/to/key.pub --token XXX
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test
:
npm i -d && npm test
Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
License
MIT © azu