update: force checkout .gitlab-ci.yml when updating git mirrors

closes #309
This commit is contained in:
Hans-Christoph Steiner 2017-07-08 12:11:42 +02:00
parent 523b5f4777
commit d8954fc033

View file

@ -393,7 +393,7 @@ def update_servergitmirrors(servergitmirrors, repo_section):
if remote.name == 'gitlab':
logging.debug('Removing .gitlab-ci.yml now that it has successfully deployed')
repo.index.reset('HEAD^')
repo.index.checkout()
repo.index.checkout(force=True)
if progress:
bar.done()