Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/bash
# strict mode http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -euo pipefail
IFS=$'\n\t'
function f () {
# set these to your server crt and key files
local crt=server.crt
local key=server.key
for app in $(heroku apps | tail -n +2 | grep -v '\-pr\-' | awk '{print $1}'); do [10:18:23 AM]
heroku certs:update "$cert" "$key" --app="$app" --confirm="$app"
done
}
f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.