From 5ab2dc585e78dc013e859ad778768ead74533206 Mon Sep 17 00:00:00 2001 From: Alexey Bagno Date: Sat, 29 Aug 2026 10:50:19 +0500 Subject: [PATCH] CI: Fix busy bin --- .gitea/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a4cf013..e3807e8 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -16,7 +16,9 @@ jobs: - name: Deploy to box run: | mkdir -p ~/apps/hub/dist ~/apps/hub/scripts - cp bin/hub-api ~/apps/hub/hub-api + cp bin/hub-api ~/apps/hub/hub-api.new + mv -f ~/apps/hub/hub-api.new ~/apps/hub/hub-api + chmod +x ~/apps/hub/hub-api cp config.yaml ~/apps/hub/config.yaml cp -r scripts/. ~/apps/hub/scripts/ cp -r web/dist/. ~/apps/hub/dist/