Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ac4de9

Browse files
committed
ci: Delete existing files before deploying docs.
Otherwise, random files might be left over, such as the old gallery.html that was removed when switching to sphinx-gallery.
1 parent 42c01e4 commit 7ac4de9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.circleci/deploy-docs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ cd devdocs
1414
git checkout --orphan gh-pages || true
1515
git reset --hard first_commit
1616

17-
cp -R ../doc/build/html/* .
17+
git rm -rf .
18+
cp -R ../doc/build/html/. .
1819
touch .nojekyll
1920

2021
git config user.email "MatplotlibCircleBot@nomail"

0 commit comments

Comments
 (0)