Skip to content
Snippets Groups Projects
Commit ed27283d authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[scripts][ci] Always remove local generated documentation

parent 16419168
No related branches found
No related tags found
No related merge requests found
Pipeline #27717 passed
......@@ -531,7 +531,8 @@ def nightlies(ctx, order, dry_run):
public=(not private), branch='master', tag=None,
username=os.environ['DOCUSER'], password=os.environ['DOCPASS'],
dry_run=dry_run)
elif os.path.exists(local_docs):
logger.debug('Sphinx output was generated during test/rebuild ' \
'of %s - Erasing...', package)
shutil.rmtree(local_docs)
if os.path.exists(local_docs):
logger.debug('Sphinx output was generated during test/rebuild ' \
'of %s - Erasing...', package)
shutil.rmtree(local_docs)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment