瀏覽代碼

Circle token

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 7 年之前
父節點
當前提交
520fad331f
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      .circleci/config.yml

+ 3 - 3
.circleci/config.yml

@@ -69,12 +69,12 @@ jobs:
       - run:
           name: API trigger
           command: |
-            curl -X POST -H "Content-Type: application/json" \
-            -u ${OSX_RELEASE_TOKEN} -d "{\
+            curl -X POST -H "Content-Type: application/json" -d "{\
               \"build_parameters\": {\
                 \"COMPOSE_BRANCH\": \"${CIRCLE_BRANCH}\"\
               }\
-            }" https://circleci.com/api/v1.1/project/github/docker/compose-osx-release > /dev/null
+            }" https://circleci.com/api/v1.1/project/github/docker/compose-osx-release?circle-token=${OSX_RELEASE_TOKEN} \
+            > /dev/null
 
 
 workflows: