Working Ebay Scraping
All checks were successful
Deploy to Server / deploy (push) Successful in 47s

This commit is contained in:
2025-11-03 16:42:52 -05:00
parent a97e79a7d8
commit 338bdf838b
8 changed files with 1354 additions and 91 deletions

View File

@@ -38,9 +38,12 @@ jobs:
git clone https://git.hudsonriggs.systems/HRiggs/Train-ID.git "$APP_DIR"
fi
cd "$APP_DIR"
git pull origin main
# Install Node.js deps and build
"$NPM" ci || "$NPM" install
# Reset any local changes (e.g., package-lock.json, build artifacts) and sync to origin/main
git fetch --prune origin
git reset --hard origin/main
git clean -fdx
# Install Node.js deps and build without modifying lockfile
"$NPM" ci --no-audit --no-fund
"$NPM" run build
# Ensure systemd service exists and restart
if systemctl list-unit-files | grep -q "${SERVICE}.service"; then