Laravel deployment with GitHub Actions
Philo Hermans Philo Hermans
1.78K subscribers
24,371 views
614

 Published On Jan 25, 2021

In this video, I will provide you with a step by step guide towards deploying your Laravel application to multiple servers without any downtime using GitHub Actions so you can feel confident about deploying your application to production with the best results for your clients. This approach works for any application, whether it's WordPress, Symfony, the technique (atomic deployment) is the same.

If you like this video and would like to see more of these videos, be sure to subscribe to my channel and like this video. This helps me to share my learnings with more people. I truly appreciate any support.

You can find the source code and a written article on my blog https://philo.dev/how-to-use-github-a.... Leave a comment if you have any questions or contact me on Twitter (  / philo01  .

I will be releasing a premium video course in the near future where I will show you how to build a real-world application from start to finish using Laravel, Livewire, and Tailwind CSS. I will be covering everything, from registering a domain, setting up a server, writing tests, you name it. Sign up via https://philo.dev/#/portal/signup to be notified, and you might even get access for free as I will be doing a give away when the course launches.

▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬

0:00 - Intro
0:59 - Quick introduction to GitHub Actions
1:22 - Setup GitHub Repository
1:55 - Install Laravel
2:55 - Creating our first workflow
3:50 - Create deployment artifacts job
16:11 - Setup DigitalOcean server
17:30 - Atomic deployment directory structure
21:59 - Prepare our release on servers
33:56 - Configure before hooks
38:02 - Activate release on servers
45:25 - Configure after hooks
46:12 - Server cleanup
48:35 - Summary and multi-server deployment demo
49:28 - Outro

show more

Share/Embed