diff --git a/index.js b/index.js index 92020de..7b25f59 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,8 @@ const github = require('@actions/github'); octokit.repos.listDeployments, { owner, - repo + repo, + ref } )) { for (const deployment of deployments) {