File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ file shows how you can clone a repo at build time:
46
46
#!/bin/bash
47
47
if [ ! -d "/home/coder/workspace/project" ]
48
48
then
49
- ssh-keyscan -t rsa <your git provider endpoint > >> ~/.ssh/known_hosts
49
+ ssh-keyscan -t rsa <yourGitProviderEndpoint > >> ~/.ssh/known_hosts
50
50
git clone git://company.com/project.git /home/coder/workspace/project
51
51
else
52
52
echo "Project has already been cloned."
53
53
fi
54
54
```
55
55
56
- > Change the git provider endpoint in the ``` ssh-keyscan ``` command. e.g.,
57
- > `` ` github.com ``` ``` bitbucket.org ``` ``` gitlab.com ```
56
+ > Ensure that you change the ` <yourGitProviderEndpoint> ` placeholder in the
57
+ > ` ssh-keyscan ` command (e.g., ` github.com ` , ` bitbucket.org ` , ` gitlab.com ` ).
58
58
59
59
Note that the instructions provided include ` if-else ` logic on whether the
60
60
instructions should be re-run (and when) or if Coder should run the instructions
You can’t perform that action at this time.
0 commit comments