fix: turn off static deployment if you switch buildpacks

This commit is contained in:
Andras Bacsai 2023-10-13 21:08:59 +02:00
parent d2d1f984e1
commit 1c97d47ea0
4 changed files with 7 additions and 3 deletions

View File

@ -77,6 +77,10 @@ class General extends Component
];
public function updatedApplicationBuildPack(){
if ($this->application->build_pack !== 'nixpacks') {
$this->application->settings->is_static = $this->is_static = false;
$this->application->settings->save();
}
$this->submit();
}
public function instantSave()

View File

@ -7,7 +7,7 @@
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => '4.0.0-beta.82',
'release' => '4.0.0-beta.83',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),

View File

@ -1,3 +1,3 @@
<?php
return '4.0.0-beta.82';
return '4.0.0-beta.83';

View File

@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
"version": "4.0.0-beta.82"
"version": "4.0.0-beta.83"
}
}
}