From 52d6afa335fc0a7472957b4410fbbff32556cc2f Mon Sep 17 00:00:00 2001 From: daniel-c-harvey Date: Thu, 4 Jun 2026 14:23:21 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20stop=20shipping=20unit=20file=20in=20depl?= =?UTF-8?q?oy=20=E2=80=94=20unit=20is=20host=20config,=20not=20CI=20artifa?= =?UTF-8?q?ct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy-api.yml | 2 -- deploy/deploy-api.sh | 10 ---------- 2 files changed, 12 deletions(-) diff --git a/.gitea/workflows/deploy-api.yml b/.gitea/workflows/deploy-api.yml index 6f29878..80a9365 100644 --- a/.gitea/workflows/deploy-api.yml +++ b/.gitea/workflows/deploy-api.yml @@ -9,7 +9,6 @@ on: - 'DeepDrftContent/**' - 'DeepDrftModels/**' - '.gitea/workflows/deploy-api.yml' - - 'deploy/systemd/deepdrftapi.service' jobs: build: @@ -110,7 +109,6 @@ jobs: rsync -e "ssh -i ~/.ssh/deepdrft_ed25519 -o StrictHostKeyChecking=yes" \ staging/deepdrft-api.tar.gz \ staging/deepdrft-migrations-bundle \ - deploy/systemd/deepdrftapi.service \ deepdrft@$DEPLOY_HOST: - name: Trigger deploy on host diff --git a/deploy/deploy-api.sh b/deploy/deploy-api.sh index 31e52d7..2acdb87 100644 --- a/deploy/deploy-api.sh +++ b/deploy/deploy-api.sh @@ -5,7 +5,6 @@ # Expects in ${APP_HOME}/staging/: # deepdrft-api.tar.gz -- published self-contained linux-x64 binary tree # deepdrft-migrations-bundle -- self-contained EF bundle (pre-built in CI) -# deepdrftapi.service -- systemd unit file (optional) # # Migrations are applied BEFORE the service restarts via the EF bundle binary. # The bundle covers DeepDrftContext (track metadata DB) only. @@ -94,15 +93,6 @@ if [[ -d "${APPROOT}/environment" ]]; then fi fi -# ── Install systemd unit file (if present in staging) ───────────────────── -if [[ -f "${STAGING}/deepdrftapi.service" ]]; then - mkdir -p "${APP_HOME}/.config/systemd/user" - cp "${STAGING}/deepdrftapi.service" "${APP_HOME}/.config/systemd/user/deepdrftapi.service" - rm -f "${STAGING}/deepdrftapi.service" - systemctl --user daemon-reload - echo "[deploy-api] systemd unit file installed" -fi - # ── Enable and restart service ───────────────────────────────────────────── systemctl --user enable deepdrftapi.service systemctl --user restart deepdrftapi.service