Optimize CMS images during builds
This commit is contained in:
@@ -167,7 +167,9 @@ sites/www/content/**;sites/blog/content/**;public/images/uploads/*.jpg;public/im
|
||||
Do not add a nested upload glob. The current Decap configuration writes media
|
||||
directly into the flat uploads directory, and the local verifier rejects nested
|
||||
media paths. Gitea file patterns are case-insensitive; CI verifies actual file
|
||||
signatures and the 500 KiB limit before a preview can upload.
|
||||
signatures and a 25 MiB source safety ceiling before deployment. The build
|
||||
re-encodes the deployed copy to at most 1920 pixels and 500 KiB and strips
|
||||
embedded metadata.
|
||||
|
||||
Everything not listed is protected from CMS/client pushes on `cms` and
|
||||
on every differently named branch, including:
|
||||
|
||||
Reference in New Issue
Block a user