pad-archiver/lib/gitlab-ci.yml
2022-04-19 20:43:51 +02:00

14 lines
403 B
YAML

stages:
- update
update:
tags: shell
stage: update
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
before_script:
- git config --global user.email "git@git.fginfo.tu-bs.de"
- 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