From 929115c02b0bdf2252918a7774b22618d35e2387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 9 Dec 2025 20:48:36 +0100 Subject: [PATCH] feat: update deployer config to build assets upfront --- deploy.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy.php b/deploy.php index 512c75d..38b39b9 100644 --- a/deploy.php +++ b/deploy.php @@ -101,6 +101,7 @@ task('deploy', [ 'deploy:setup', 'deploy:lock', 'deploy:release', + 'deploy:assets', 'rsync', 'deploy:shared', 'deploy:writable', @@ -110,6 +111,10 @@ task('deploy', [ 'deploy:stop-workers', ]); +task('deploy:assets', function () { + runLocally('npm i && npm run build'); +}); + task('deploy:stop-workers', function () { run('{{bin/console}} messenger:stop-workers'); });