From 249d3c95c25593fd142efd5bfdfcf5a9c93ec89b Mon Sep 17 00:00:00 2001 From: Corey Oordt Date: Thu, 23 Dec 2021 16:48:15 -0600 Subject: [PATCH] Making sure docs directory doesn't exist @minor --- .github/workflows/python-package.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 775bdb6..9509300 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -29,9 +29,8 @@ jobs: pip install -r requirements/dev.txt - name: Prepare documentation build run: | - mkdir -p docs rm -f doc_src/api/categories*.rst - ls -A1 docs | xargs -I {} rm -rf docs/{} + rm -rf docs/ git fetch origin gh-pages git update-ref -d refs/heads/gh-pages # - name: Publish documentation