Skip to content

mina-deploy/mina-whenever

Repository files navigation

Mina::Whenever

This is a whenever plugin for mina

Installation

Add this line to your application's Gemfile:

gem 'mina-whenever'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mina-whenever

Usage

in deploy.rb

require 'mina/whenever'

task deploy: :environment do
  deploy do
    ...
    on :launch do
      invoke :'whenever:update'
    end
  end
end

Configuration

These are the settings you can set:

set :whenever_name # default: "#{domain}_#{rails_env}"

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mina-deploy/mina-whenever. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages