Browse Source

fix wercker.yml (trigger-crowi-plus-docker)

Yuki Takei 9 years ago
parent
commit
04c89391b2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bin/wercker/trigger-crowi-plus-docker.sh

+ 2 - 2
bin/wercker/trigger-crowi-plus-docker.sh

@@ -13,7 +13,7 @@
 RESPONSE=`curl -X POST \
 RESPONSE=`curl -X POST \
   -H "Content-Type: application/json" \
   -H "Content-Type: application/json" \
   -H "Authorization: Bearer $WERCKER_TOKEN" \
   -H "Authorization: Bearer $WERCKER_TOKEN" \
-  https://app.wercker.com/api/v3/runs -d '{ \
+  https://app.wercker.com/api/v3/runs -d { \
     "pipelineId": "$TARGET_PIPELINE_ID", \
     "pipelineId": "$TARGET_PIPELINE_ID", \
     "branch": "release", \
     "branch": "release", \
     "envVars": [ \
     "envVars": [ \
@@ -22,7 +22,7 @@ RESPONSE=`curl -X POST \
         "value": "$RELEASE_VERSION" \
         "value": "$RELEASE_VERSION" \
       } \
       } \
     ] \
     ] \
-  }'
+  }
 `
 `
 
 
 echo $RESPONSE | jq .
 echo $RESPONSE | jq .