also delete _site
[rnaseq-cwl-training.git] / .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