Compare commits

...

2 Commits
1.6.1 ... 1.6.2

3 changed files with 6 additions and 1 deletions

View File

@ -14,6 +14,7 @@ public function installDependencies(Site $site): void
$site->server->ssh()->exec( $site->server->ssh()->exec(
$this->getScript('composer-install.sh', [ $this->getScript('composer-install.sh', [
'path' => $site->path, 'path' => $site->path,
'php_version' => $site->php_version,
]), ]),
'composer-install', 'composer-install',
$site->id $site->id

View File

@ -2,6 +2,6 @@ if ! cd __path__; then
echo 'VITO_SSH_ERROR' && exit 1 echo 'VITO_SSH_ERROR' && exit 1
fi fi
if ! composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev; then if ! php__php_version__ /usr/local/bin/composer install --no-interaction --prefer-dist --optimize-autoloader --no-dev; then
echo 'VITO_SSH_ERROR' && exit 1 echo 'VITO_SSH_ERROR' && exit 1
fi fi

View File

@ -487,6 +487,7 @@
'ubuntu_18' => 'linode/ubuntu18.04', 'ubuntu_18' => 'linode/ubuntu18.04',
'ubuntu_20' => 'linode/ubuntu20.04', 'ubuntu_20' => 'linode/ubuntu20.04',
'ubuntu_22' => 'linode/ubuntu22.04', 'ubuntu_22' => 'linode/ubuntu22.04',
'ubuntu_24' => 'linode/ubuntu24.04',
], ],
], ],
'digitalocean' => [ 'digitalocean' => [
@ -618,6 +619,7 @@
'ubuntu_18' => '112929540', 'ubuntu_18' => '112929540',
'ubuntu_20' => '112929454', 'ubuntu_20' => '112929454',
'ubuntu_22' => '129211873', 'ubuntu_22' => '129211873',
'ubuntu_24' => '155133621',
], ],
], ],
'vultr' => [ 'vultr' => [
@ -789,6 +791,7 @@
'ubuntu_18' => '270', 'ubuntu_18' => '270',
'ubuntu_20' => '387', 'ubuntu_20' => '387',
'ubuntu_22' => '1743', 'ubuntu_22' => '1743',
'ubuntu_24' => '2284',
], ],
], ],
'hetzner' => [ 'hetzner' => [
@ -920,6 +923,7 @@
'ubuntu_18' => 'ubuntu-18.04', 'ubuntu_18' => 'ubuntu-18.04',
'ubuntu_20' => 'ubuntu-20.04', 'ubuntu_20' => 'ubuntu-20.04',
'ubuntu_22' => 'ubuntu-22.04', 'ubuntu_22' => 'ubuntu-22.04',
'ubuntu_24' => 'ubuntu-24.04',
], ],
], ],
]; ];