also delete _site
authorFrançois Michonneau <francois.michonneau@gmail.com>
Fri, 18 Dec 2020 16:42:55 +0000 (17:42 +0100)
committerFrançois Michonneau <francois.michonneau@gmail.com>
Wed, 6 Jan 2021 14:22:46 +0000 (15:22 +0100)
.github/workflows/website.yml

index 7b090b129e52ed8994f9697d12ba5db398ca238d..d5507d946247ba8f6ebf2ea25a6d213833c6bf8b 100644 (file)
@@ -95,7 +95,7 @@ jobs:
       - name: Push site
         if: ${{ github.event.push == 'true' && steps.check-rmd.outputs.count != 0 && github.ref == 'refs/heads/main' }}
         run: |
-          rm -rf .bundle
+          rm -rf .bundle/ _site/
           git add --force .
           git commit -m "[GitHub Actions] render website"
           git push --force origin +gha-rendering:gh-pages