simple webhook deploy
easyd [token]
After run this command,it would serving with port 8082.
curl your_ip|domain:8082/deploy?script=hello&token=[your token]
It will run hello.sh
on the scripts
dir.
Or, you can upload .zip
file with:
curl -F "filename=@/home/test/file.tar.gz" http://127.0.0.1:8082/deploy\?script\=hello\&token\=