diff --git a/scripts/deploy_to_stage_on_local.sh b/scripts/deploy_to_stage_on_local.sh index c0469d1..6a94f6e 100755 --- a/scripts/deploy_to_stage_on_local.sh +++ b/scripts/deploy_to_stage_on_local.sh @@ -45,8 +45,14 @@ printf '2/4 Commit feltolása a Gitea-ra…\n' git push origin "${DEPLOY_BRANCH}" printf '3/4 Staging deploy (%s:%s)…\n' "${STAGE_HOST}" "${STAGE_PATH}" +# WHY nincs itt már "sudo systemctl restart mozdit-content-editor.service": az a +# régi egyedi CMS (content-editor.js) külön systemd szolgáltatása volt — a +# fájlt MITHOME-93 leépítette, a Docker-compose alapú app (deploy.sh) a +# régóta egyedüli kiszolgáló. A szerveren futó mozdit-content-editor.service +# unit-ot (ha még létezik) manuálisan kell leállítani/letiltani — ezt a +# scriptet nem futtatjuk SSH-n keresztül automatikusan. ssh -o BatchMode=yes -o ConnectTimeout=15 "${STAGE_HOST}" \ - "cd '${STAGE_PATH}' && git pull --ff-only origin '${DEPLOY_BRANCH}' && ./deploy.sh staging && sudo systemctl restart mozdit-content-editor.service" + "cd '${STAGE_PATH}' && git pull --ff-only origin '${DEPLOY_BRANCH}' && ./deploy.sh staging" printf '4/4 Staging smoke teszt (%s)…\n' "${STAGE_URL}" (