Project

mina-teams

0.0
The project is in a healthy, maintained state
Teams web hook from mina
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

Mina::Teams

This is a Teams plugin for mina

Installation

Add this line to your application's Gemfile:

gem 'mina-teams'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install mina-teams

Usage

in deploy.rb

require 'mina/teams'

task deploy: :environment do
  deploy do
    ...
    isolate do
      invoke 'teams:starting'
      # Deploy Commands
      invoke 'teams:finished'
    end
  end
  
  deploy do
    ...
    isolate do
      invoke 'teams:starting_restart'
      # Restart Commands
      invoke 'teams:finished_restart'
    end
  end
end

Configuration

These are the settings you can set:

set :teams_url, 'https://your-company.webhook.office.com/webhookb2/xxx/IncomingWebhook/xxx/xxx'

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mina-deploy/mina-teams. 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.