Skip to content
This repository was archived by the owner on Nov 10, 2019. It is now read-only.

Commit aa87108

Browse files
Adding clarification for SSH_KEY documentation
1 parent efa4668 commit aa87108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/gitclonerssh/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Dockerhub repo: https://hub.docker.com/r/codefresh/cfstep-gitclonerssh
88
|--|--|--|--|--|
99
| REMOTE_URL | null | string | Yes | Reporitory SSH URL (e.g. `git@github.com:my-user/my-repo.git`) |
1010
| BRANCH | master | string | No | Branch name to checkout (e.g. `master`) |
11-
| SSH_KEY | null | string | Yes | Private SSH key to access the repository. To set a value for this var you can: `cat ~/.ssh/my_ssh_key_file | tr '\n' ','`. This assumes that `SPLIT_CHAR` will be set to `,` |
11+
| SSH_KEY | null | string | Yes | Private SSH key to access the repository. To convert it to single line string, and set a value for this var you can execute: `cat ~/.ssh/my_ssh_key_file | tr '\n' ','`. This assumes that `SPLIT_CHAR` will be set to `,` |
1212
| SPLIT_CHAR | null | string | Yes | Split character you’ve used to replace newline in SSH key (`SSH_KEY`). Recommendation: use `,` (comma character)|
1313
| CLONE_PATH | working directory | string | No | Path where `git clone` is going to be executed. A "`repo-name`" directory will be created there|
1414

0 commit comments

Comments
 (0)