I am wondering how I can target a specific commit SHA in Git for deployment, using Capistrano? It should be something like
cap deploy --version=<sha targeted>
Can't seem to find the answer to this after a lot of searching.
I am wondering how I can target a specific commit SHA in Git for deployment, using Capistrano? It should be something like
cap deploy --version=<sha targeted>
Can't seem to find the answer to this after a lot of searching.
You can deploy a particular git commit/tree/branch/tag by doing something like:
cap -S branch=80655da8d80aaaf92ce5357e7828dc09adb00993 deploy