This is a Capistrano v3 plugin that integrates Kemal tasks into capistrano deployment scripts to ease deployment.
Add capistrano-kemal
to your Gemfile
.
gem 'capistrano-kemal'
Load capistrano-kemal
in your Capfile
.
require 'capistrano/kemal'
That's it.
Here's an example
set :application, 'your-app'
set :repo_url, 'git@github.com:username/your-app.git'
set :deploy_to, '/home/user/apps/your-app/'
set :kemal_env, 'production'
after 'deploy:publishing', 'kemal:restart'
Bug reports and pull requests are welcome on GitHub at https://github.com/sdogruyol/capistrano-kemal.