Align with admin history cleanup and reapply local site updates
Deploy to Production / deploy (push) Successful in 13s

This commit is contained in:
popovskik committed 2026-04-09 11:40:24 +02:00
1 parent aa40b0803d
commit a68a6a917c
9 files changed
+30 -383

No files matched your search

+11
View File
@@ -14,6 +14,11 @@ else {
}
$ExcludedDirectories = @("node_modules", "vendor", "dist", "build", "images")
$ExcludedFilePatterns = @(
"code_export*.txt",
"gitea-token*.txt",
"gitea-token*.txt.sig"
)
$ExcludedExtensions = @(
".jpg", ".jpeg", ".png", ".gif", ".bmp", ".tiff", ".svg", ".ico", ".webp",
".mp4", ".mov", ".avi", ".mkv", ".webm",
@@ -105,6 +110,12 @@ function Test-ShouldSkipFile {
return $true
}
foreach ($pattern in $ExcludedFilePatterns) {
if ($File.Name -like $pattern) {
return $true
}
}
$segments = $relativePath -split "[\\/]+"
foreach ($segment in $segments) {
if ($segment.StartsWith(".")) {