don't create raygun deployment for non-master branches
This commit is contained in:
Родитель
f5333db863
Коммит
091042bf3e
|
@ -3735,7 +3735,9 @@ function uploadRaygunDeployment(d: {
|
|||
version: string;
|
||||
username: string;
|
||||
}) {
|
||||
if (!process.env['RAYGUN_API_KEY'] || !process.env["RAYGUN_AUTH_TOKEN"]) return;
|
||||
if (!process.env.RAYGUN_API_KEY
|
||||
|| !process.env.RAYGUN_AUTH_TOKEN
|
||||
|| process.env.TRAVIS_BRANCH != "master") return;
|
||||
|
||||
console.log('creating raygun deployment');
|
||||
var body = {
|
||||
|
|
Загрузка…
Ссылка в новой задаче