Artifact criteria are hardcoded in source-code
JayFoxRox opened this issue · 0 comments
JayFoxRox commented
The source code defines a couple of global variables to control which artifact is being looked for.
Ideally the HTTP server would allow arguments or some kind of path, so this server can be hosted to support all public GitHub projects.
For example:
http://server.org/<owner>/<repo>/<branch>/<workflow_name>/<workflow_event>/<artifact_name>
or
http://server.org/?owner=<owner>&repo=<repo>&branch=<branch>&workflow=...
This could also be extended with matching for multiple criteria, although KISS is probably better here.