Skip to content

Commit 0a0479c

Browse files
committed
rebuild index.js
1 parent 29524f6 commit 0a0479c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3209,6 +3209,7 @@ function run() {
32093209
const context = github.context;
32103210
const logUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/commit/${context.sha}/checks`;
32113211
const token = core.getInput("token", { required: true });
3212+
const ref = core.getInput("ref", { required: false }) || context.ref;
32123213
const url = core.getInput("target_url", { required: false }) || logUrl;
32133214
const environment = core.getInput("environment", { required: false }) || "production";
32143215
const description = core.getInput("description", { required: false });
@@ -3223,7 +3224,7 @@ function run() {
32233224
const deployment = yield client.repos.createDeployment({
32243225
owner: context.repo.owner,
32253226
repo: context.repo.repo,
3226-
ref: context.ref,
3227+
ref: ref,
32273228
required_contexts: [],
32283229
environment,
32293230
transient_environment: true,

0 commit comments

Comments
 (0)