I am running my laravel project in aws ubuntu for cicd. I am able to successfully deploy the code and the output is also successful. But whenever I make a change in the code the webpage is taking me to a different page for 20 - 30 secs. The page is successfully updating only after 30 secs. I dont want to take me to a different page( a map in my case) after i make a change. The commands i am using are
composer update
sudo npm run build
sudo php artisan migrate
sudo php artisan cache:clear
sudo php artisan config:clear
sudo php artisan view:clear
sudo php artisan queue:restart``` is there any other commands I should include or is there any issue with the order of these commands?