Git Integration with Statamic V3


Statamic V3 Pro can automate version control workflow with Git. This PRO feature is amazing!

Essentially the Git Integration Pro feature allows you to sync your Git repo with updates that users are making via the Statamic Control Panel and sync any commits you as a developer are making and pushing to the same Git repo.

In earlier versions of Statamic, similar features were available via the Spock Add-On.

The Statamic site I was working on used a Git repo, Laravel Forge, and Digital Ocean server.

Git Integration Settings to add to your Laravel Forge Account

The Statamic docs do a great job of explaining the Git Integration setup, but there was one simple task that I overlooked. If you are using Laravel Forge, don’t forget to enable Quick Deploy from within Laravel. You can learn more about Quick Deploy in the Laravel docs.

From your Laravel Forge login, go to Sites > Apps > “Enable Quick Deploy” button. This feature deploys your application every time a push is made to your repository and branch.

Enable Quick Deploy in Laravel Forge for Statamic Git Integration to work.

Of course, you’ll also need to update your environment file (.env) in Laravel, too. These are the two new lines you’ll want to include to turn on the Statamic Git Integrations.


Happy Web Designing and Programming!

I hope this is helpful. If you have other tips for smooth integration, please comment below.

About the author

Kelly Barkhurst

Designer to Fullstack is my place to geek out and share tech solutions from my day-to-day as a graphic designer, programmer, and business owner (portfolio). I also write on Arts and Bricks, a parenting blog and decal shop that embraces my family’s love of Art and LEGO bricks!

Add comment

By Kelly Barkhurst

Recent Posts