move circle trigger to /scripts

This commit is contained in:
bergquist
2016-09-15 12:57:41 +02:00
parent 4afd7a5ef1
commit 6489571179
2 changed files with 1 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
_circle_token=$1
trigger_build_url=https://circleci.com/api/v1/project/grafana/grafana-packer/tree/master?circle-token=${_circle_token}
curl \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--request POST ${trigger_build_url}