Fix travis-ci publish script [ci skip]
This commit is contained in:
parent
65a7f0729b
commit
be1fd6198c
1 changed files with 8 additions and 8 deletions
|
@ -29,7 +29,7 @@ fi
|
|||
|
||||
function publish() {
|
||||
|
||||
body=$(cat <<'EOF'
|
||||
body=$(cat <<EOF
|
||||
{
|
||||
"request": {
|
||||
"branch": "master",
|
||||
|
@ -43,12 +43,12 @@ body=$(cat <<'EOF'
|
|||
EOF
|
||||
)
|
||||
|
||||
echo curl -s -X POST \
|
||||
curl -s -X POST \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Accept: application/json" \
|
||||
-H "Travis-API-Version: 3" \
|
||||
-H "Authorization: token $1" \
|
||||
--data "'$body'" \
|
||||
--data "$body" \
|
||||
https://api.travis-ci.org/repo/kubernetes%2Fingress-nginx/requests
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue