From 391b7fcb54878d73faa1c62ed6cb17170e8a910b Mon Sep 17 00:00:00 2001 From: "Gan, Jimmy" Date: Sat, 4 Apr 2026 02:26:07 +0800 Subject: [PATCH] fix: execute deploy script from mounted NAS volume The deploy script runs with the NAS host's Docker context, avoiding Docker-in-Docker network issues. The script is mounted at /nas-dashboard/deploy-dev.sh in the workflow container. --- .gitea/workflows/deploy-dev.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy-dev.yml b/.gitea/workflows/deploy-dev.yml index c187451..4e7273d 100644 --- a/.gitea/workflows/deploy-dev.yml +++ b/.gitea/workflows/deploy-dev.yml @@ -64,5 +64,5 @@ jobs: - name: Deploy dev run: | export DOCKER_API_VERSION=1.43 - # Just restart the container - it will use the new image - docker restart nas-dashboard-dev + # Execute deploy script from mounted volume + bash /nas-dashboard/deploy-dev.sh