Просмотр исходного кода

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

Yuki Takei 9 лет назад
Родитель
Сommit
7455191cd8
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      bin/wercker/trigger-crowi-plus-docker.sh

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

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