parent
e67595a7c4
commit
225033130c
2 changed files with 14 additions and 3 deletions
|
@ -26,8 +26,9 @@ 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
|
||||
local tmp=""
|
||||
curl -s -X "POST" "$uri" --header "PRIVATE-TOKEN: $token" --data $body
|
||||
# to put output on a new line
|
||||
echo ""
|
||||
}
|
||||
|
||||
Main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue