Skip to content

Commit 147a3fc

Browse files
committed
GitLab-Mirror-Ziel auf gitlab.erikskopp.de umstellen
1 parent 911fd3b commit 147a3fc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/mirror-to-gitlab.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: |
2929
set -euo pipefail
3030
cd source.git
31-
GITLAB_REPO_URL="https://oauth2:${GITLAB_TOKEN}@gitlab.erik-skopp.de/Archive/JavaCrypt.git"
31+
GITLAB_REPO_URL="https://oauth2:${GITLAB_TOKEN}@gitlab.erikskopp.de/Archive/JavaCrypt.git"
3232
3333
# LFS objects live outside the normal git objects a bare --mirror
3434
# clone transfers. GitLab's pre-receive hook validates LFS pointers
@@ -68,7 +68,7 @@ jobs:
6868
6969
exists=$(curl -s -o /dev/null -w "%{http_code}" \
7070
-H "PRIVATE-TOKEN: $GITLAB_TOKEN" \
71-
"https://gitlab.erik-skopp.de/api/v4/projects/$GITLAB_PROJECT/releases/$tag")
71+
"https://gitlab.erikskopp.de/api/v4/projects/$GITLAB_PROJECT/releases/$tag")
7272
7373
payload=$(jq -n --arg tag "$tag" --arg name "$name" --arg desc "$body" \
7474
'{tag_name: $tag, name: $name, description: $desc}')
@@ -77,12 +77,12 @@ jobs:
7777
echo "Updating GitLab release for $tag"
7878
curl -s -X PUT -H "PRIVATE-TOKEN: $GITLAB_TOKEN" -H "Content-Type: application/json" \
7979
-d "$payload" \
80-
"https://gitlab.erik-skopp.de/api/v4/projects/$GITLAB_PROJECT/releases/$tag" > /dev/null
80+
"https://gitlab.erikskopp.de/api/v4/projects/$GITLAB_PROJECT/releases/$tag" > /dev/null
8181
else
8282
echo "Creating GitLab release for $tag"
8383
curl -s -X POST -H "PRIVATE-TOKEN: $GITLAB_TOKEN" -H "Content-Type: application/json" \
8484
-d "$payload" \
85-
"https://gitlab.erik-skopp.de/api/v4/projects/$GITLAB_PROJECT/releases" > /dev/null
85+
"https://gitlab.erikskopp.de/api/v4/projects/$GITLAB_PROJECT/releases" > /dev/null
8686
fi
8787
8888
echo "$release" | jq -c '.assets[]?' | while read -r asset; do
@@ -92,6 +92,6 @@ jobs:
9292
'{name: $name, url: $url}')
9393
curl -s -X POST -H "PRIVATE-TOKEN: $GITLAB_TOKEN" -H "Content-Type: application/json" \
9494
-d "$link_payload" \
95-
"https://gitlab.erik-skopp.de/api/v4/projects/$GITLAB_PROJECT/releases/$tag/assets/links" > /dev/null
95+
"https://gitlab.erikskopp.de/api/v4/projects/$GITLAB_PROJECT/releases/$tag/assets/links" > /dev/null
9696
done
9797
done

0 commit comments

Comments
 (0)