From a6e4b205f7407f0f6004e68e063b547bb35c252c Mon Sep 17 00:00:00 2001 From: Jannis Portmann Date: Wed, 8 Feb 2023 17:11:54 +0100 Subject: [PATCH] Use deployer 7.x --- deploy.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/deploy.php b/deploy.php index b9d0ac1..5b71edb 100644 --- a/deploy.php +++ b/deploy.php @@ -1,7 +1,7 @@ user('lq5xi_thisfro') +host('lq5xi.ftp.infomaniak.com') + ->set('remote_user', 'lq5xi_thisfro') ->set('deploy_path', '~/sites/{{stage}}.{{application}}') ->set('http_user', 'uid153060') - ->stage('beta'); + ->set('stage', 'beta'); // Tasks @@ -45,9 +45,9 @@ task('upload:build', function() { // Build yarn locally task('deploy:build:assets', function (): void { - run('yarn install'); - run('yarn encore production'); -})->local()->desc('Install front-end assets'); + runLocally('yarn install'); + runLocally('yarn encore production'); +})->desc('Install front-end assets'); before('deploy:symlink', 'deploy:build:assets');