Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit b91d6c6

Browse files
committed
fix(): update travis trigger
1 parent 2ba152f commit b91d6c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export const rebuildMaster = functions.https.onRequest((butterRequest, butterRes
1515
"Content-Type": "application/json",
1616
"Accept": "application/json",
1717
"Travis-API-Version": "3",
18-
"Authorization": "token " + travisToken
18+
"Authorization": `token ${travisToken}`
1919
}
2020
};
2121

22-
const body = '{"request": {"branch":"master"}}';
22+
const body = `{"request": {"branch":"${functions.config().travis.rebuild_branch}"}}`;
2323

2424
const travisRequest = https.request(options, (travisResponse: any) => {
2525

0 commit comments

Comments
 (0)