Created
September 17, 2012 15:28
-
-
Save AlexDisler/3738002 to your computer and use it in GitHub Desktop.
Execute phing on the server using hubot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (robot) -> | |
robot.respond /deploy to stage/i, (msg) -> | |
process.chdir('/your/dir') | |
doing = require('child_process').spawn 'phing', ['remotedeploy','-Denv=stage'] | |
msg.send 'stage deployment request sent' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment