fix(deploy): restart SSR after build to pick up new SSR bundle
This commit is contained in:
Vendored
+1
-1
@@ -124,10 +124,10 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
dir("${APP_DIR}") {
|
dir("${APP_DIR}") {
|
||||||
sh '''
|
sh '''
|
||||||
docker exec ntspi-php php artisan inertia:stop-ssr || true
|
|
||||||
docker restart ntspi-nginx ntspi-php ntspi-php-queue
|
docker restart ntspi-nginx ntspi-php ntspi-php-queue
|
||||||
sleep 5
|
sleep 5
|
||||||
docker exec ntspi-php php artisan inertia:stop-ssr || true
|
docker exec ntspi-php php artisan inertia:stop-ssr || true
|
||||||
|
sleep 2
|
||||||
docker exec ntspi-php php artisan inertia:start-ssr || true
|
docker exec ntspi-php php artisan inertia:start-ssr || true
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user