avakar / create-deployment

Create GitHub deployments from GitHub actions
MIT License
11 stars 8 forks source link

Allow to pass repo and owner as parameters #8

Open chdanielmueller opened 2 years ago

chdanielmueller commented 2 years ago

Hi @avakar

I would like to pass owner and repo as parameters to create deployments (and statuses) in other repositories. I have already opened two pull requests with the change.

It should not break backwards compatibility as the default remains the current repository and owner.

As far as I can tell the build for my changes is missing. (./dist/index.js) But I am not aware how you have built the code as it is not specified in the package.json If you could guide me how to do the build that would be great or alternatively you should be able to commit directly to my branches.

Thanks, Daniel

chdanielmueller commented 2 years ago

I have built the package with the following commands on node v16.13.1

npm i
ncc build index.js

The PRs should now be ready to merge