fix git user
This commit is contained in:
parent
97a7c8ee6b
commit
491fa5a2c4
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue