Closed errnesto closed 3 years ago
Shure it would also be cool to pass arguments as real "github actions arguments" but I think then a entrypoint.sh
script or something like that would be needed to map that input to the linkcheck command…
And that just seems more complicated :-)
Sorry, I didn't see this earlier. Thank you!
@filiph Could you create a release so we can start using this? Thank you! :)
Thanks for the nudge! The new version (2.0.20
) is in flight.
I messed up my original contribution… When one would pass more than one argument e.g.
arguments: 'example.com --skip-file skipfile.txt'
to the github action it would fail with:This is because github action arguments can only be strings, but when we pass them as
args
to the dockerfile the docker cmd looks like this:cmd=["https://qa.ems.press --skipfile hui.txt"]
The workaround I found is overwriting the docker
entrypoint
via the actions file. There I can just expand theinputs.arguments
variable…This should close #72