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');