Created
October 19, 2017 01:43
-
-
Save Aupajo/cd4fb76c53b68a72f5c517fa9c6eb318 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env ruby | |
require "heroku_env_audit" | |
require "json" | |
pipelines = JSON.parse(`heroku pipelines --json`, symbolize_names: true) | |
pipelines.each do |pipeline| | |
info = JSON.parse(`heroku pipelines:info #{pipeline[:name]} --json`, symbolize_names: true) | |
info[:apps].each do |app| | |
puts app[:name] | |
puts "========" | |
system "heroku config -a #{app[:name]}" | |
puts | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment