refactor: update test file naming conventions for clarity and consistency
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 4m22s

This commit is contained in:
2025-12-04 09:11:21 -08:00
parent 2f64e348fc
commit aac04353a3
4 changed files with 12 additions and 7 deletions

View File

@@ -187,8 +187,8 @@ jobs:
echo "--- Cleaning up test-generated flyer assets ---"
# Use find to delete files within the directories, but not the directories themselves.
# Target only the specific test files by name pattern.
find "$APP_PATH/flyer-images" -type f -name '*-test-flyer-image.jpg' -delete
find "$APP_PATH/flyer-images/icons" -type f -name '*test-flyer-image.webp' -delete
find "$APP_PATH/flyer-images" -type f -name '*-test-flyer-image.*' -delete
find "$APP_PATH/flyer-images/icons" -type f -name '*-test-flyer-image.*' -delete
find "$APP_PATH/flyer-images/archive" -mindepth 1 -maxdepth 1 -type f -delete || echo "Archive directory not found, skipping."
echo "✅ Test artifacts cleared from asset directories."