fix: remove manual network connect (already in compose file)
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m46s
Run Tests / Backend Tests (push) Failing after 45s
Run Tests / Frontend Tests (push) Failing after 37s
Run Tests / Test Summary (push) Failing after 16s

The compose file already declares both networks, so the manual
docker network connect causes a conflict.
This commit is contained in:
Gan, Jimmy
2026-04-06 20:52:15 +08:00
parent 6db672a56e
commit 1b7161b82b
+1 -4
View File
@@ -72,9 +72,6 @@ jobs:
fi fi
# Use a dedicated project name to avoid killing production (which is project 'nas-dashboard') # Use a dedicated project name to avoid killing production (which is project 'nas-dashboard')
# and deploy using theSynced compose file. # and deploy using the synced compose file.
docker compose -f docker-compose.dev.yml -p nas-dashboard-dev down --remove-orphans || true docker compose -f docker-compose.dev.yml -p nas-dashboard-dev down --remove-orphans || true
docker compose -f docker-compose.dev.yml -p nas-dashboard-dev up -d --build --pull never docker compose -f docker-compose.dev.yml -p nas-dashboard-dev up -d --build --pull never
# Connect to gitea_gitea network for database access (OPC_DB)
docker network connect gitea_gitea nas-dashboard-dev || true