'How to setup deploybot with deployscript for laravel

I have set up my deploybot for larvael but I am unable to set up the deploy script for migrations, cache, etc. Like when I push the code to GitHub it deploys the code on server and once deployed I want migrations and other commands that I set to run. Just like Forge deploy script.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source