Skip to content

feat: clear docs cache on deploy and register optimize command - #34

Merged
loadinglucian merged 1 commit into
mainfrom
feat/docs-clear-on-deploy
Feb 25, 2026
Merged

feat: clear docs cache on deploy and register optimize command#34
loadinglucian merged 1 commit into
mainfrom
feat/docs-clear-on-deploy

Conversation

@loadinglucian

Copy link
Copy Markdown
Owner

Wires up the docs:clear Artisan command end-to-end:

  • Moves $this->optimizes(clear: 'docs:clear', key: 'docs') from boot() to register() in AppServiceProvider, which is the correct lifecycle phase for declaring service metadata; removes the now-empty boot() method
  • Adds php artisan docs:clear step in the deploy script so the docs output cache is invalidated on every fresh deployment

@loadinglucian
loadinglucian merged commit deaffd4 into main Feb 25, 2026
6 checks passed
@loadinglucian
loadinglucian deleted the feat/docs-clear-on-deploy branch February 25, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant