update ci config

This commit is contained in:
Tim Schubert 2022-04-19 21:43:12 +02:00
parent 1bb36da422
commit e6db855732
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -2,6 +2,7 @@ stages:
- update
update:
image: fginfo/pad-archiver
stage: update
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
@ -9,5 +10,5 @@ update:
- git config --global user.email "git@git.fginfo.tu-bs.de"
- git config --global user.name "Gitlab CI"
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