This tool will help you to automate deployments by using Web Hooks
- Ruby 3.0+
- Git
Install required gems
bundle install
Save credentials of the deploy user
git config --global credential.helper store
Check config.yml.example in order to create your own custom config.yml file.
sudo: true # Set true if the current user will need sudo permissions
relay:
- http://another-server/deploy # Relay web hook to another server
repositories:
user/repository:
path: "/path-to-deploy"
clone_url: "http://clone_url"
branch: "master"
Deploy all configured repositories
./shugo setup
Start deployment server
key=<SECRET_KEY> ./shugo server