mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 21:53:47 +08:00
Created a pass-phrase less SSH key, uploaded the public key to biopython/docs settings as a deployment key (write permissions). For TravisCI must escape the spaces and newlines as '\ ' and '\\n' respectively when setting DOC_KEY as a secure environment variable. Can test this locally by setting the DOC_KEY environment variable. Idea here is to call this from TravisCI/Tox after running Sphinx to build our API documentation.
5 lines
189 B
Bash
Executable File
5 lines
189 B
Bash
Executable File
#!/bin/bash
|
|
# Call ssh using our GitHub repository deploy key (set via -i)
|
|
# using -F to make sure this ignores ~/.ssh/config
|
|
ssh -i "$HOME/.biopython_doc_deploy.key" -F /dev/null -p 22 $*
|