feat: finished listing the repos, should be all good now

Closes #50
This commit is contained in:
silver 2023-12-27 22:11:26 +00:00
parent e67595a7c4
commit 225033130c
2 changed files with 14 additions and 3 deletions

View file

@ -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() {