comment out unused code
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
Signed-off-by: Loïc Dachary <loic@dachary.org>master
parent
43ab5bb75a
commit
1587c6a7b5
|
@ -52,12 +52,12 @@ write_ssh(){
|
||||||
}
|
}
|
||||||
|
|
||||||
set_ssh_remote() {
|
set_ssh_remote() {
|
||||||
http_remote_url=$(git remote get-url origin)
|
# http_remote_url=$(git remote get-url origin)
|
||||||
remote_hostname=$(echo $http_remote_url | cut -d '/' -f 3)
|
# remote_hostname=$(echo $http_remote_url | cut -d '/' -f 3)
|
||||||
repository_owner=$(echo $http_remote_url | cut -d '/' -f 4)
|
# repository_owner=$(echo $http_remote_url | cut -d '/' -f 4)
|
||||||
repository_name=$(echo $http_remote_url | cut -d '/' -f 5)
|
# repository_name=$(echo $http_remote_url | cut -d '/' -f 5)
|
||||||
ssh_remote="git@$remote_hostname:$repository_owner/$repository_name"
|
# ssh_remote="git@$remote_hostname:$repository_owner/$repository_name"
|
||||||
ssh_remote="git@gitea.gna.org:Hostea/website.git"
|
ssh_remote="git@gitea.gna.org:Gna/website.git"
|
||||||
git remote add $SSH_REMOTE_NAME $ssh_remote
|
git remote add $SSH_REMOTE_NAME $ssh_remote
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue