You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ref: 'master',// The ref to deploy. This can be a branch, tag, or SHA.
367
+
task: 'lock',// Specifies a task to execute (e.g., deploy or deploy:migrations).
368
+
auto_merge: false,// Attempts to automatically merge the default branch into the requested ref, if it is behind the default branch.
369
+
required_contexts: [],// The status contexts to verify against commit status checks. If this parameter is omitted, then all unique contexts will be verified before a deployment is created. To bypass checking entirely pass an empty array. Defaults to all unique contexts.
370
+
payload: {
371
+
repo, component, domain, action, environment,
372
+
},// JSON payload with extra information about the deployment. Default: ""
373
+
environment,// Name for the target deployment environment (e.g., production, staging, qa)
374
+
description,// Short description of the deployment
375
+
transient_environment: true,// Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future.
376
+
production_environment: false,// Specifies if the given environment is one that end-users directly interact with.
377
+
});
378
+
app.log.info(`Created lock deployment #${res.data.id} for pull request ${environment}`);
0 commit comments