1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 06:33:48 +00:00
Files
seahub/.travis/rebuild-branches.sh
2018-08-10 17:37:28 +08:00

15 lines
324 B
Bash
Executable File

#!/bin/sh
body='{
"request": {
"branch":"seafile-docs"
}}'
curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Travis-API-Version: 3" \
-H "Authorization: token ${TRAVIS_API_ACCESS_TOKEN}" \
-d "$body" \
https://api.travis-ci.org/repo/haiwen%2Fseahub/requests