From 97e97e5951987f7401981e7660585129bb6cee20 Mon Sep 17 00:00:00 2001 From: Admin Date: Sun, 29 Mar 2026 13:33:01 +0000 Subject: [PATCH] ci: clean up test files, finalize CI/CD pipeline --- CI_CD_ACTIVE.txt | 1 - api/src/routes/deploy-version.txt | 1 - deploy.log.md | 1 - deploy.sh | 4 ---- 4 files changed, 7 deletions(-) delete mode 100644 CI_CD_ACTIVE.txt delete mode 100644 api/src/routes/deploy-version.txt delete mode 100644 deploy.log.md diff --git a/CI_CD_ACTIVE.txt b/CI_CD_ACTIVE.txt deleted file mode 100644 index 2665440..0000000 --- a/CI_CD_ACTIVE.txt +++ /dev/null @@ -1 +0,0 @@ -2026-03-29T13:29:50+00:00 diff --git a/api/src/routes/deploy-version.txt b/api/src/routes/deploy-version.txt deleted file mode 100644 index 4ac9d9f..0000000 --- a/api/src/routes/deploy-version.txt +++ /dev/null @@ -1 +0,0 @@ -// v1.1 — CI/CD pipeline deployed 2026-03-29T13:26:29+00:00 diff --git a/deploy.log.md b/deploy.log.md deleted file mode 100644 index 963b6d3..0000000 --- a/deploy.log.md +++ /dev/null @@ -1 +0,0 @@ -# CI/CD Deploy Log diff --git a/deploy.sh b/deploy.sh index d3e0f2c..3fb1f81 100755 --- a/deploy.sh +++ b/deploy.sh @@ -5,18 +5,14 @@ export HOME="/root" LOG="/opt/task-team/deploy.log" echo "=== Deploy started at $(date -Is) ===" >> $LOG -# Pull latest code cd /opt/task-team git pull origin master >> $LOG 2>&1 -# Install deps cd /opt/task-team/api npm install --production >> $LOG 2>&1 -# Reload API (with --force to avoid "already in progress") pm2 reload taskteam-api --force >> $LOG 2>&1 -# Build frontend (if it exists) if [ -d /opt/task-team/apps/tasks ] && [ -f /opt/task-team/apps/tasks/package.json ]; then cd /opt/task-team/apps/tasks NEXT_PUBLIC_API_URL=http://localhost:3000 npm run build >> $LOG 2>&1