fix: Fix port for git automated cloning and upstreaming
This commit is contained in:
parent
46e42eb1c4
commit
9b811eea97
16
.drone.yml
16
.drone.yml
|
@ -11,12 +11,8 @@ steps:
|
|||
commands:
|
||||
- mkdir -p ~/.ssh
|
||||
- echo $GITEA_SSH_KEY > ~/.ssh/id_rsa
|
||||
- echo <<EOF
|
||||
Host git.b12f.io
|
||||
Port 2222
|
||||
User git
|
||||
HostName git.b12f.io
|
||||
EOF >> ~/.ssh/config
|
||||
- echo "Host git.b12f.io" >> ~/.ssh/config
|
||||
- echo " Port 2222" >> ~/.ssh/config
|
||||
- chmod -R 600 ~/.ssh
|
||||
- git clone -b devos git@git.b12f.io:pub-solar/os
|
||||
- cd os
|
||||
|
@ -38,12 +34,8 @@ steps:
|
|||
commands:
|
||||
- mkdir -p ~/.ssh
|
||||
- echo $GITEA_SSH_KEY > ~/.ssh/id_rsa
|
||||
- echo <<EOF
|
||||
Host git.b12f.io
|
||||
Port 2222
|
||||
User git
|
||||
HostName git.b12f.io
|
||||
EOF >> ~/.ssh/config
|
||||
- echo "Host git.b12f.io" >> ~/.ssh/config
|
||||
- echo " Port 2222" >> ~/.ssh/config
|
||||
- chmod -R 600 ~/.ssh
|
||||
- git clone -b core git@git.b12f.io:pub-solar/os
|
||||
- cd os
|
||||
|
|
Loading…
Reference in a new issue