The commit from the build being deployed should be explicitly deployed so any build, not just the HEAD of the branch, can be deployed. This would also avoid race conditions where a merge to the OpsWorks branch during a deploy would cause the wrong commit to be deployed.
The commit from the build being deployed should be explicitly deployed so any build, not just the HEAD of the branch, can be deployed. This would also avoid race conditions where a merge to the OpsWorks branch during a deploy would cause the wrong commit to be deployed.