Skip to content

Commit

Permalink
Tweak APP_URL replace (#14)
Browse files Browse the repository at this point in the history
* Change the .gitignore.stub file to include the /build directory and exclude the build directory, in order to properly ignore the build artifacts and improve the organization of the repository.

* Fix if statement syntax in open-ai-pr-description.yml. The changes were made to ensure that the job runs only if the actor is not Dependabot.

* Update ConfigureEnvCommand.php to set the APP_URL to use HTTPS and remove the trailing slash. Also update the LOG_DEPRECATIONS_CHANNEL to stack.
  • Loading branch information
thejmitchener authored Dec 18, 2024
1 parent 39824f8 commit 83ac7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/ConfigureEnvCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private function modifyEnvFile(string $envPath): void
$envContent = preg_replace('/^APP_NAME=.*/m', "APP_NAME={$appName}", $envContent);

// Update APP_URL to https://directory-name-here.test/
$envContent = preg_replace('/^APP_URL=.*/m', "APP_URL=https://{$localProjectName}.test/", $envContent);
$envContent = preg_replace('/^APP_URL=.*/m', "APP_URL=https://{$localProjectName}.test", $envContent);

$envContent = preg_replace('/^LOG_DEPRECATIONS_CHANNEL=.*/m', 'LOG_DEPRECATIONS_CHANNEL=stack', $envContent);

Expand Down

0 comments on commit 83ac7ee

Please sign in to comment.