From 9e1fbd6fd4f9658babff86f333609a3df5c80c56 Mon Sep 17 00:00:00 2001
From: Allen Gilliland <agilliland@gmail.com>
Date: Tue, 27 Oct 2015 08:06:20 -0700
Subject: [PATCH] circle still not liking our curl command for deployment

---
 bin/deploy-webook | 3 +++
 circle.yml        | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100755 bin/deploy-webook

diff --git a/bin/deploy-webook b/bin/deploy-webook
new file mode 100755
index 00000000000..f6e4f4b0c0b
--- /dev/null
+++ b/bin/deploy-webook
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+curl -H "Content-Type: application/json" -X POST -d '{"docker_tag":"latest"}' $1
diff --git a/circle.yml b/circle.yml
index 57a78b899be..80fe9f10a6b 100644
--- a/circle.yml
+++ b/circle.yml
@@ -28,4 +28,4 @@ deployment:
   master:
     branch: master
     commands:
-      - curl -H "Content-Type: application/json" -X POST -d '{"docker_tag":"latest"}' $DEPLOY_WEBHOOK
+      - ./bin/deploy-webhook $DEPLOY_WEBHOOK
-- 
GitLab