Leveling up Laravel deployments: Unlocking optionality
This is how I like to do deployments for Laravel applications.
This involves using a CI pipeline, instead of (blindly) deploying based on git webhooks.
There’s a lot of reasons why deployments can get bogged down and, frankly, suck. Let’s see how to get unstuck by adding some process to our deployments.
The two main things that buy you optionality are:
1. An approval process
2. A deployable build artifact
These gives you lots of options! You can prevent bad code from going to production with an enforced approval process. When a build artifact, you can run your code from different points in time (without having to worry about nodejs dependency issues), test out other platforms, build containers, and run all sorts of experiments with little hassle.
Check out the same repository:
⌚️ Timestamps
00:00 Deployments: Complicated!
00:35 Why optionality?
01:30 You need a CI pipeline
01:54 GitHub Action setup (approval)
04:18 Build a deployable artifact
06:35 Need your feedback
1 view
27
3
5 days ago 00:15:52 8
Plymouth Satellite Frankenstein Drift Car (BMW E36 + Ford Explorer + LS)
2 weeks ago 00:14:06 1
lingWAVES Voice Protocol
3 weeks ago 00:11:34 1
💰$167,800 First-Week Payment Proof | Done For You 10X ROI Campaigns | Pay Per Call & CPA Marketing
3 weeks ago 00:27:31 1
35 Best Crusier Motorcycles For 2025
3 weeks ago 00:01:57 55
Trump Threatens Denmark With Tariffs Over Greenland