Deploy Laravel for
Bitbucket Pipelines
View on GitHub
Step 9: Webroot, queue, and cron
You should make sure your webroot, queue workers, and cronjob are pointing to the "current" directory.
You can make these changes after you've run a deployment using this script.
If your "base_directory" is /var/www/project
, then:
- Your Apache2/Nginx root directory should point to
/var/www/project/current/public
- Your queue workers should point to
/var/www/project/current/artisan
- Your cronjob should point to
/var/www/project/current/artisan