sphinx-contrib / sphinxcontrib-versioning

Sphinx extension that allows building versioned docs for self-hosting.
https://sphinxcontrib-versioning.readthedocs.io/en/latest/
MIT License
127 stars 80 forks source link

Close ssh-add stdin for pull requests. #5

Closed Robpol86 closed 8 years ago

Robpol86 commented 8 years ago

Change line in docs to eval $(ssh-agent -s); ssh-add docs/key <&-

First discovered in: https://github.com/Robpol86/terminaltables/issues/32

This probably happens because during pull requests there is no encrypted env variables so docs/key is empty or invalid. Thus ssh-add prompts for a password.

Robpol86 commented 8 years ago

Closing stdin didn't actually do anything. Running ssh-add conditionally instead.

Robpol86 commented 8 years ago

Fixed in 09e6b086f07f8a36a771e8306a5c569e0380b6b4