Skip to content
A CLI to generate and add Github SSH deploy keys to repos.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
bin
src
tests
.editorconfig
.gitattributes
.gitignore
.styleci.yml
.travis.yml
CHANGELOG.md
LICENSE.md
README.md
box.json.dist
composer.json
phpcs.xml.dist
phpunit.xml.dist

README.md

github-deploy-key

Latest Version on Packagist Software License Build Status Style CI Code Coverage Total Downloads

A CLI to generate and add Github SSH deploy keys to repos.

Install

Via Composer

$ composer require pxgamer/github-deploy-key

Usage

When installing through Composer globally, it should include the gdk binary in your path.

Adding a new deploy key:

gdk add [-t|--token [TOKEN]] [--] <repositories> (<repositories>)
~/$ gdk add -t d3v3l0p3r1234567890abcdefghijklmnopqrstu pxgamer/github-deploy-key
Deploy keys added successfully to the following repositories:
-------------------------------------------------------------

-----BEGIN RSA PRIVATE KEY-----
MIIJKQIBAAKCAg...
-----END RSA PRIVATE KEY-----

Private key for: pxgamer/github-deploy-key
Public key added to: https://github.com/pxgamer/github-deploy-key/settings/keys

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email security@pxgamer.xyz instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

You can’t perform that action at this time.