diff --git a/script/setup-macos-keychain b/script/setup-macos-keychain index 73501e2edb..0edeff711c 100755 --- a/script/setup-macos-keychain +++ b/script/setup-macos-keychain @@ -1,6 +1,6 @@ #!/bin/sh -curl -H 'Authorization: token $DESKTOPBOT_TOKEN' -H 'Accept: application/vnd.github.v3.raw' -O -L https://api.github.com/repos/desktop/desktop-secrets/developer-id-cert.p12 +curl -H "Authorization: token ${DESKTOPBOT_TOKEN}" -H 'Accept: application/vnd.github.v3.raw' -O -L https://api.github.com/repos/desktop/desktop-secrets/contents/developer-id-cert.p12 KEY_CHAIN=mac-build.keychain security create-keychain -p travis $KEY_CHAIN