Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (23 sloc) 657 Bytes

SM Deploy IRC Bot

IRC boot for automatic triggerring sm deploy.

Installation

On server:

gem install eployday

Example for auto deploy on travis-ci tests passed rvm-site.yml:

---
nick: rvm-site-deploy
channels:
  - "#rvm-test"
trigger_text: !ruby/regexp /.*The build passed\..*/
allowed_users:
  - travis-ci
command: "bdsm deploy"

Test run:

eployday rvm-site.yml

Start in background with:

nohup eployday rvm-site.yml &

Log file will be stored in nohup.out.

Development

Development:

RUBYLIB=./lib ruby bin/eployday example.yml

example.yml is ignored so you can use it development.