Refactor build config to use triggers

Add triggers to build configs, similar to triggers on deployment configs