Trivial server to listen to Gitlab webhooks and execute a set of commands.
curl -s https://api.github.com/repos/geoffjay/shook/releases/latest \
| jq '.assets[] | select(.name|test("^shook.*linux-musl.zip$")) | .browser_download_url' \
| tr -d \" \
| wget -qi -
unzip $(find . -iname "shook_*.zip")
sudo mv shook /usr/local/bin/
Check the setup documentation for any remaining steps.
cargo build
cargo run
To see all arguments that are available execute the command cargo run -- --help
.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.