diff --git a/.github/workflows/deploy-to-gh.yml b/.github/workflows/deploy-to-gh.yml index 6307c75..e1157a7 100644 --- a/.github/workflows/deploy-to-gh.yml +++ b/.github/workflows/deploy-to-gh.yml @@ -26,10 +26,8 @@ jobs: with: branch: gh-pages folder: . - clean: true - clean-exclude: | - example_prod.html - jquery.min.js - favicon.ico - webassets/* - crystvis/player.html + + - name: Clean deployment + run: | + find . ! -name 'example_dev.html' ! -name 'jquery.min.js' ! -name 'ermac.min.js' -type f -exec rm -f {} + + find . ! -name 'webassets' ! -name 'crystvis' -type d -exec rm -rf {} +