Created
May 29, 2017 16:22
-
-
Save abnerCrack/8866b9cf9f1bae894bb52c2eb943bc76 to your computer and use it in GitHub Desktop.
test.js
This file contains hidden or 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
handler.on('push', function (event) { | |
console.log('Received a push event for %s to %s', | |
event.payload.repository.name, | |
event.payload.ref) | |
run_cmd('sh', ['./update.sh'], function(text){ console.log(text) }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment