Created
June 9, 2016 14:52
-
-
Save jcalvert/df79dfad484c8cbc84a71584ce5fbe92 to your computer and use it in GitHub Desktop.
deploy button ruby code
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
require 'aws-sdk' | |
queue = 'https://sqs.us-east-1.amazonaws.com/somerandomamazonnumber/deploybutton' | |
poller = Aws::SQS::QueuePoller.new(queue) | |
poller.poll do |msg| | |
`deploy_shell_command` | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment