Add logic to config controller
Merge pull request #12 from pmorie/deploy-trigger-wip

Add logic to config controller