mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 05:36:07 +01:00
Use the correct type of regex to reduce Capsule data
This commit is contained in:
parent
4495912e08
commit
b0323735e4
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ tasks:
|
|||
# Gemini has no Javascript (no client-side interactivity at all), so search is useless
|
||||
- rm -rf ./public/search
|
||||
# Remove www-specific files
|
||||
- find ./public -regex '.*\.(html|js|css|css\.map|webmanifest|xml|xsl|ico|opml)' -type f -delete
|
||||
- find ./public -regextype posix-egrep -regex '.*\.(html|js|css|css\.map|webmanifest|xml|xsl|ico|opml)' -type f -delete
|
||||
# Remove specific unneeded files
|
||||
- rm -rf ./public/favicon*.png ./public/_redirects ./public/{apple,android,mstile}*.png ./public/safari-pinned-tab.svg ./public/robots.txt
|
||||
# Remove specific unneeded directories
|
||||
|
|
Loading…
Reference in a new issue