fix: this should now work (?)
This commit is contained in:
parent
f116c3fb25
commit
8fecc941c7
3 changed files with 5 additions and 2 deletions
|
@ -26,7 +26,6 @@ Mirror-Create(){
|
|||
local body="url=https://oauth2:$token_remote@$REPO&enabled=true&only_protected_branches=false&keep_divergent_refs=false"
|
||||
local uri="https://gitlab.skynet.ie/api/v4/projects/$id/remote_mirrors"
|
||||
echo $uri
|
||||
echo $body
|
||||
local tmp=""
|
||||
curl -X "POST" "$uri" --header "PRIVATE-TOKEN: $token" --data $body
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue