# HG changeset patch
# User Simon Chabot <simon.chabot@logilab.fr>
# Date 1611732682 -3600
# Wed Jan 27 08:31:22 2021 +0100
# Node ID a4d465a3e77d07cf6a79c121c10b2d6484cd7468
# Parent c5dcb7911dc7f2a333594045306c0fd498d182dd
fix(ci): manually remove the .tox/doc directory
closes #206
# User Simon Chabot <simon.chabot@logilab.fr>
# Date 1611732682 -3600
# Wed Jan 27 08:31:22 2021 +0100
# Node ID a4d465a3e77d07cf6a79c121c10b2d6484cd7468
# Parent c5dcb7911dc7f2a333594045306c0fd498d182dd
fix(ci): manually remove the .tox/doc directory
closes #206
@@ -209,11 +209,15 @@
1 variables: 2 - $TRIGGERED_FROM_OTHER_PROJECT 3 before_script: 4 - pip install tox 5 script: 6 - - tox -re doc 7 + # remove previous artifacts from build_doc if any (cf. #206). The .tox/doc 8 + # directory does not « look as a virtualenv », and tox refuses to remove it. 9 + # Let's do it manually. 10 + - rm -rf .tox/doc/ 11 + - tox -e doc 12 - mv .tox/doc/tmp/html public 13 artifacts: 14 paths: 15 - public 16 only: