From e8d14a41aff66b8eda92016b7a3b513b819cc7fe Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Wed, 14 Feb 2024 19:46:12 -0600 Subject: [PATCH] ci: delete existing files before we download the artifact --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc46176..f9d3a9a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,14 +27,14 @@ jobs: with: ref: 'gh-pages' + - name: Delete old docs + run: rm -rf * + - name: Download artifact uses: actions/download-artifact@v2 with: name: docs - - name: Delete old docs - run: rm -rf * - - name: Unpack new docs run: tar -xzf docs.tar.gz