From 613e0b9a5ce564d8c94dff3129c5725aa73924be 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 b26fe06..6febe07 100644 --- a/deploy.php +++ b/deploy.php @@ -103,6 +103,7 @@ task('deploy', [ 'deploy:setup', 'deploy:lock', 'deploy:release', + 'deploy:assets', 'rsync', 'deploy:shared', 'deploy:writable', @@ -112,6 +113,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'); });