
Tech
How I Automated My Laravel Deployments to a VPS with GitHub Actions and SSH
Running a Laravel application on a VPS usually means repeating the same routine: connecting via SSH, pulling latest changes, running composer updates, migrating the database, and clearing caches manually.
It works, but it's repetitive and prone to human error.
So I automated the boring part.
In this guide, I'll walk through setting up a lightweight Continuous Deployment (CD) pipeline using:
GitHub & GitHub Actions
SSH Key Authentication
A Linux VPS (Ubuntu)
Larave...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to