Commit Graph

6 Commits

Author SHA1 Message Date
Alexey Alekhin
ddb5b3d9ba Raise an error if there are several .pem files (#441) 2018-03-08 21:33:46 -05:00
Bex Warner
6d37ad80da STANDARD LINT ALL OF THE THINGS 2017-08-22 20:06:31 -07:00
Gregor
7408fcb1f0 fix: allow to set PRIVATE_KEY with "\\n" characters 2017-07-13 08:07:57 -07:00
Brandon Keepers
fdfbaeafac Update name from "GitHub Integrations" to "GitHub Apps" 2017-06-05 21:11:08 -05:00
Brandon Keepers
c9104d8b6f Tweak docs 2017-04-29 11:25:25 -05:00
Christopher Hiller
0f14bf3499 add PRIVATE_KEY_PATH env var support; closes #122
The loading preference is:

1. CLI flag
2. `PRIVATE_KEY`
3. `PRIVATE_KEY_PATH`
4. Find a `.pem` file in the current working dir

Changes:

- break out PK loading logic into module `lib/private-key.js`
- add more info to error messaging if probot fails to find a PK
- add tests
- add note to deployment docs
2017-04-24 23:02:48 -07:00