diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 52ca2499..294ae8d4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -96,7 +96,7 @@ jobs: - run: git branch -D gh-pages || true - run: git checkout --orphan gh-pages - run: find . -mindepth 1 -maxdepth 1 ! -name 'decoders' ! -name '.git' -exec rm -rf {} + - - run: find . -type f ! \( -iname "*.png" -o -iname "*.svg" \) ! -path "./.git/*" -exec rm -f {} + + - run: find . -type f ! \( -iname "*.png" -o -iname "*.svg" -o -iname "*.webp" -o -iname "*.ico" -iname "*.jpeg" -iname "*.jpg" \) ! -path "./.git/*" -exec rm -f {} + - name: Create robots.txt to deny all run: | echo "User-agent: *" > robots.txt