From 491fa5a2c412ff2286accbac9b84547c03c3b69d Mon Sep 17 00:00:00 2001 From: dadada Date: Tue, 26 Apr 2022 21:08:51 +0200 Subject: [PATCH] fix git user --- lib/gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gitlab-ci.yml b/lib/gitlab-ci.yml index 517ceec..4abb213 100644 --- a/lib/gitlab-ci.yml +++ b/lib/gitlab-ci.yml @@ -2,6 +2,7 @@ stages: - update update: + variables: image: git.fginfo.tu-bs.de:5050/fginfo/pad-archiver:main tags: - docker @@ -13,4 +14,4 @@ update: - git config --global user.name "Gitlab CI" script: - /update < pads.txt - - git push "https://${GITLAB_USER_NAME}:${CI_ACCESS_TOKEN}@${CI_REPOSITORY_URL#*@}" "HEAD:${CI_COMMIT_REF_NAME}" -o skip-ci + - git push "https://git:${CI_ACCESS_TOKEN}@${CI_REPOSITORY_URL}" "HEAD:${CI_COMMIT_REF_NAME}" -o skip-ci