mina-ci
Mina recipe for checking Circle CI build status
Installation
Add this line to your application's Gemfile:
gem 'mina-ci', require: false
And then execute:
$ bundle
Usage
require 'mina/ci'
...
set :circle_token, 'your circle API token'
set :circle_username, 'your circle project username'
set :circle_project, 'your circle project'
set :circle_notify_url, 'notify special url if check status failed'
task deploy: :environment do
deploy do
invoke :'ci:verify_status'
...
to :launch do
...
end
end
end
Options
Name | Description |
---|---|
circle_token |
CircleCI API token |
circle_username |
CircleCI project username |
circle_project |
CircleCI project name |
Contributing
- Fork it ( https://github.com/seandong/mina-ci/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request