File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,23 @@ $ docker build --no-cache --pull --build-arg ENV_UID=$(id -u) --build-arg ENV_GI
21
21
$ git remote add origin_ssh [email protected] :INGV/shakemap-input-eu.git
22
22
```
23
23
24
- ### Add ` ssh_key ` directory into the project folder, with valid ssh key to ` push `
24
+ ### Add ` ssh_key ` directory into the project folder.
25
+ Create an ` ssh_key ` directory with valid ssh key to ` push ` ; the ssh key must be called ` id_rsa__origin_ssh ` like below:
25
26
```
26
27
$ ls -l ssh_key/
27
28
total 12
28
- -rw------- 1 shake shake 2602 Feb 7 14:26 id_rsa
29
- -rw-r--r-- 1 shake shake 571 Feb 7 14:26 id_rsa .pub
29
+ -rw------- 1 shake shake 2602 Feb 7 14:26 id_rsa__origin_ssh
30
+ -rw-r--r-- 1 shake shake 571 Feb 7 14:26 id_rsa__origin_ssh .pub
30
31
$
31
32
```
33
+ after that, create a ` ssh_key/config ` file with this contents:
34
+ ```
35
+ $ cat ssh_key/config
36
+ Host github.com
37
+ HostName github.com
38
+ PreferredAuthentications publickey
39
+ IdentityFile ~/.ssh/id_rsa__origin_ssh
40
+ ```
32
41
33
42
### Run
34
43
```
You can’t perform that action at this time.
0 commit comments