diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5fa2d40be181f8878d200e1ba3a4a9afb779eeeb..2b54d2c84d0630c0185f636ca19b7ec69b5685b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,7 +30,7 @@ generate: # that USER and PASSWORD contain credentials of a user which has # permission to push to the neighbouring project. - cd CI - - git ls-files --deleted | xargs git rm + - git ls-files --deleted | xargs -r git rm - git add *.yml - git diff --cached --quiet --exit-code || git commit -m "Refresh YAML files" -m "Generated by $CI_PIPELINE_URL" - URL=${CI_REPOSITORY_URL#*@}