Should be using TRAVIS_ACCESS_TOKEN rather than TRAVIS_ACCESS_TOKEN_TEMP

This commit is contained in:
Alan Davis
2020-10-13 16:40:30 +01:00
parent 84a1e63547
commit c48b1ded12

View File

@@ -28,7 +28,7 @@ curl -s -X POST \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-H "Accept: application/json" \ -H "Accept: application/json" \
-H "Travis-API-Version: 3" \ -H "Travis-API-Version: 3" \
-H "Authorization: token ${TRAVIS_ACCESS_TOKEN_TEMP}" \ -H "Authorization: token ${TRAVIS_ACCESS_TOKEN}" \
-d "${BODY}" \ -d "${BODY}" \
"${URL}" \ "${URL}" \
| tee /tmp/travis-request-output.txt | tee /tmp/travis-request-output.txt