Skip to content

Commit

Permalink
rebuild index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
chrnorm committed Mar 19, 2020
1 parent 5d74c00 commit 9fea95f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3209,6 +3209,7 @@ function run() {
const context = github.context;
const logUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/commit/${context.sha}/checks`;
const token = core.getInput("token", { required: true });
const ref = core.getInput("ref", { required: false }) || context.ref;
const url = core.getInput("target_url", { required: false }) || logUrl;
const environment = core.getInput("environment", { required: false }) || "production";
const description = core.getInput("description", { required: false });
Expand All @@ -3223,7 +3224,7 @@ function run() {
const deployment = yield client.repos.createDeployment({
owner: context.repo.owner,
repo: context.repo.repo,
ref: context.ref,
ref: ref,
required_contexts: [],
environment,
transient_environment: true,
Expand Down

0 comments on commit 9fea95f

Please sign in to comment.