Merge pull request 'fix: fix: hire-an-agent clone URL missing agent_name path segment (#209)' (#215) from fix/issue-209 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
This commit is contained in:
commit
8522ee9abc
1 changed files with 1 additions and 1 deletions
|
|
@ -2790,7 +2790,7 @@ disinto_hire_an_agent() {
|
||||||
local clone_url="${forge_url}/${agent_name}/.profile.git"
|
local clone_url="${forge_url}/${agent_name}/.profile.git"
|
||||||
local auth_url
|
local auth_url
|
||||||
auth_url=$(printf '%s' "$forge_url" | sed "s|://|://${agent_name}:${user_pass}@|")
|
auth_url=$(printf '%s' "$forge_url" | sed "s|://|://${agent_name}:${user_pass}@|")
|
||||||
auth_url="${auth_url}/.profile.git"
|
auth_url="${auth_url}/${agent_name}/.profile.git"
|
||||||
|
|
||||||
# Display unauthenticated URL (auth token only in actual git clone command)
|
# Display unauthenticated URL (auth token only in actual git clone command)
|
||||||
echo " Cloning: ${forge_url}/${agent_name}/.profile.git"
|
echo " Cloning: ${forge_url}/${agent_name}/.profile.git"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue