Sep, 03

Adopting the GitHub deployment strategy

tagged with: ruby capistrano deployment

The other day I read a blog post from @defunkt about cleaning up the deployment strategy at GitHub. He explained, including some example code, how they had created a git based deployment strategy for Capistrano. He also mentioned that this new strategy was MUCH MUCH faster than the typical git deployment.

I happened to be prepping an app for deployment and decided I would try out this new strategy. I ran into a few issues where the examples given weren’t namespaced properly to work right out of the box for me. I also decided to make a few changes for my needs. In the end I have a new favorite deployment strategy that can deploy this specific app in around 3 seconds which is AMAZING! Read the original post for an in depth explanation of how it all works, or just grab this deploy.rb and have at it.

Subscribe

About

Thoughts and how-tos from Shay Arnett, a software craftsman at Hashrocket.

Want to know more?