Skip to content

Commit 8b95b93

Browse files
committed
refactor: Add is_build_time property to nixpacks_php_fallback_path and nixpacks_php_root_dir
1 parent 3d9557b commit 8b95b93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Jobs/ApplicationDeploymentJob.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,13 +965,15 @@ private function laravel_finetunes()
965965
$nixpacks_php_fallback_path = new EnvironmentVariable();
966966
$nixpacks_php_fallback_path->key = 'NIXPACKS_PHP_FALLBACK_PATH';
967967
$nixpacks_php_fallback_path->value = '/index.php';
968+
$nixpacks_php_fallback_path->is_build_time = false;
968969
$nixpacks_php_fallback_path->application_id = $this->application->id;
969970
$nixpacks_php_fallback_path->save();
970971
}
971972
if (! $nixpacks_php_root_dir) {
972973
$nixpacks_php_root_dir = new EnvironmentVariable();
973974
$nixpacks_php_root_dir->key = 'NIXPACKS_PHP_ROOT_DIR';
974975
$nixpacks_php_root_dir->value = '/app/public';
976+
$nixpacks_php_root_dir->is_build_time = false;
975977
$nixpacks_php_root_dir->application_id = $this->application->id;
976978
$nixpacks_php_root_dir->save();
977979
}

0 commit comments

Comments
 (0)