more unit testing
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m36s

This commit is contained in:
2025-11-22 18:35:32 -08:00
parent 6979e0514e
commit 33a1f71b35

View File

@@ -135,7 +135,8 @@ jobs:
# 1. Copy the backend source code and project files first.
# We exclude node_modules, .git, and the build output (dist).
rsync -avz --delete --exclude 'node_modules' --exclude '.git' --exclude 'dist' ./ "$APP_PATH/"
# CRITICAL: We must also exclude '.env' to prevent deleting the production secrets file.
rsync -avz --delete --exclude '.env' --exclude 'node_modules' --exclude '.git' --exclude 'dist' ./ "$APP_PATH/"
# 2. Copy the built frontend assets into the same directory.
# This will correctly place index.html and the assets/ folder in the webroot.