|  |  | @@ -1,18 +1,24 @@ | 
		
	
		
			
			|  |  |  | [ | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | "id": "sexy-push", | 
		
	
		
			
			|  |  |  | "execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy-branch.sh", | 
		
	
		
			
			|  |  |  | "execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy.sh", | 
		
	
		
			
			|  |  |  | "command-working-directory": "/home/web/crux.sexy/", | 
		
	
		
			
			|  |  |  | "pass-arguments-to-command": [ | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | "source": "payload", | 
		
	
		
			
			|  |  |  | "name": "repository.name" | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | "source": "payload", | 
		
	
		
			
			|  |  |  | "name": "ref" | 
		
	
		
			
			|  |  |  | "response-message": "Updating...", | 
		
	
		
			
			|  |  |  | "trigger-rule": { | 
		
	
		
			
			|  |  |  | "match": { | 
		
	
		
			
			|  |  |  | "type": "value", | 
		
	
		
			
			|  |  |  | "value": "{{ getenv "WEBHOOK_SECRET" | js }}", | 
		
	
		
			
			|  |  |  | "parameter": { | 
		
	
		
			
			|  |  |  | "source": "payload", | 
		
	
		
			
			|  |  |  | "name": "secret" | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | ], | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | }, | 
		
	
		
			
			|  |  |  | { | 
		
	
		
			
			|  |  |  | "id": "webhook-push", | 
		
	
		
			
			|  |  |  | "execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy.sh", | 
		
	
		
			
			|  |  |  | "command-working-directory": "/home/web/webhooks/", | 
		
	
		
			
			|  |  |  | "response-message": "Updating...", | 
		
	
		
			
			|  |  |  | "trigger-rule": { | 
		
	
		
			
			|  |  |  | "match": { | 
		
	
	
		
			
				|  |  | 
 |