File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments