Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .deployer/scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ if [[ $framework == "laravel" ]]; then
echo "→ Optimizing..."
"${DEPLOYER_PHP}" artisan optimize:clear
"${DEPLOYER_PHP}" artisan optimize

echo "→ Clearing docs output cache..."
"${DEPLOYER_PHP}" artisan docs:clear
fi

# Symfony (uncomment as needed)
Expand Down
6 changes: 0 additions & 6 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ public function register(): void
$this->app->singleton(TocParserService::class);
$this->app->singleton(HeadingExtractorService::class);
$this->app->singleton(DocumentService::class);
}

/**
* Bootstrap any application services.
*/
public function boot(): void
{
$this->optimizes(clear: 'docs:clear', key: 'docs');
}
}