mina-deploy / mina-whenever

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Ruby 100.0%