more unit testing
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m36s
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 1m36s
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user