260216:1614 4rd Deploy (Prepare CI/CD: Revise .gitea/workflow/deploy.yaml #7)
All checks were successful
Build and Deploy / deploy (push) Successful in 49s

This commit is contained in:
admin
2026-02-16 16:14:58 +07:00
parent 5ff6ed1b6d
commit 21810dba73

View File

@@ -43,6 +43,8 @@ jobs:
# 4. Update Containers # 4. Update Containers
echo "🔄 Updating Containers..." echo "🔄 Updating Containers..."
# Sync compose file จาก repo → app directory
cp /share/np-dms/app/source/lcbp3/specs/08-infrastructure/docker-compose-app.yml /share/np-dms/app/docker-compose-app.yml
cd /share/np-dms/app cd /share/np-dms/app
# ⚠️ ลบ container เดิมที่อาจสร้างจาก Container Station # ⚠️ ลบ container เดิมที่อาจสร้างจาก Container Station
docker rm -f backend frontend 2>/dev/null || true docker rm -f backend frontend 2>/dev/null || true