Skip to content

Commit

Permalink
colors
Browse files Browse the repository at this point in the history
  • Loading branch information
lschans committed Nov 10, 2014
1 parent a8619fb commit 075442f
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 41 deletions.
75 changes: 39 additions & 36 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ var HC = new hipchat(config.hipsecret);
HC.postMessage( {room: config.hiproom, // Found in the JSON response from the call above
from: 'IronBot',
message: '<strong>Ironbot</strong> ' + process.argv[2],
color: 'yellow'},
color: process.argv[3]},
function(data) { }
)
2 changes: 1 addition & 1 deletion update_dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cd /opt/ironbane-dev-server/
/usr/bin/git pull
/usr/bin/git checkout master
/usr/bin/sudo restart ironbane-dev-server
/usr/bin/nodejs /opt/ironbane-ironbot/notify.js "ironbane-dev-server up2date and restarted"
/usr/bin/nodejs /opt/ironbane-ironbot/notify.js "ironbane-dev-server up2date and restarted" yellow
2 changes: 1 addition & 1 deletion update_ironbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ sleep 5
cd /opt/ironbane-ironbot/
/usr/bin/git pull
/usr/bin/git checkout master
/usr/bin/nodejs /opt/ironbane-ironbot/notify.js "I am up2date and will restart myself"
/usr/bin/nodejs /opt/ironbane-ironbot/notify.js "I am up2date and will restart myself" blue
/usr/bin/sudo restart ironbane-ironbot
2 changes: 1 addition & 1 deletion update_play.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cd /opt/ironbane-play-server/
/usr/bin/git pull
/usr/bin/git checkout master
/usr/bin/sudo restart ironbane-play-server
/usr/bin/nodejs /opt/ironbane-ironbot/notify.js "ironbane-play-server up2date and restarted"
/usr/bin/nodejs /opt/ironbane-ironbot/notify.js "ironbane-play-server up2date and restarted" red
2 changes: 1 addition & 1 deletion update_router.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cd /opt/ironbane-router/
/usr/bin/git pull
/usr/bin/git checkout master
/usr/bin/sudo restart ironbane-router
/usr/bin/nodejs /opt/ironbane-ironbot/notify.js "ironbane-router up2date and restarted"
/usr/bin/nodejs /opt/ironbane-ironbot/notify.js "ironbane-router up2date and restarted" purple

0 comments on commit 075442f

Please sign in to comment.