fix git user

This commit is contained in:
Tim Schubert 2022-04-26 21:08:51 +02:00
parent 97a7c8ee6b
commit 491fa5a2c4
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -2,6 +2,7 @@ stages:
- update - update
update: update:
variables:
image: git.fginfo.tu-bs.de:5050/fginfo/pad-archiver:main image: git.fginfo.tu-bs.de:5050/fginfo/pad-archiver:main
tags: tags:
- docker - docker
@ -13,4 +14,4 @@ update:
- git config --global user.name "Gitlab CI" - git config --global user.name "Gitlab CI"
script: script:
- /update < pads.txt - /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