Skip to content

Commit

Permalink
Run optimize:clear during update
Browse files Browse the repository at this point in the history
  • Loading branch information
nagmat84 committed Sep 10, 2022
1 parent 0f1fab9 commit 29d2c8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan optimize:clear",
"@php artisan package:discover",
"@install_files"
],
Expand Down
2 changes: 2 additions & 0 deletions scripts/post-merge
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ else
composer install --no-dev --prefer-dist
fi
if [ -f ".env" ]; then
echo "php artisan optimize:clear"
php artisan optimize:clear
echo "php artisan migrate --force"
php artisan migrate --force
fi
Expand Down

0 comments on commit 29d2c8f

Please sign in to comment.