From 774de4a6abbea8eca85086a1daf8ade9137bfcce Mon Sep 17 00:00:00 2001 From: F4ilji Date: Mon, 31 Aug 2026 20:05:39 +0500 Subject: [PATCH] fix(deploy): explicit SSR restart after build + defensive props --- Jenkinsfile | 8 +- resources/js/Pages/Client/Schedules/Index.vue | 291 ++++-------------- 2 files changed, 68 insertions(+), 231 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 567fb55..c4884b0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -123,7 +123,13 @@ pipeline { stage('Restart Services') { steps { dir("${APP_DIR}") { - sh 'docker restart ntspi-nginx ntspi-php ntspi-php-queue' + sh ''' + docker exec ntspi-php php artisan inertia:stop-ssr || true + docker restart ntspi-nginx ntspi-php ntspi-php-queue + sleep 5 + docker exec ntspi-php php artisan inertia:stop-ssr || true + docker exec ntspi-php php artisan inertia:start-ssr || true + ''' } } } diff --git a/resources/js/Pages/Client/Schedules/Index.vue b/resources/js/Pages/Client/Schedules/Index.vue index 610c9ce..b8f6e35 100755 --- a/resources/js/Pages/Client/Schedules/Index.vue +++ b/resources/js/Pages/Client/Schedules/Index.vue @@ -1,222 +1,72 @@ - \ No newline at end of file +