formspree/scripts/herokuconfig.sh

9 lines
192 B
Bash
Executable File

#! /bin/bash
# To set your local env vars, use this like so:
# scripts/export.sh .env | pbcopy
# then paste into terminal
while read l; do
heroku config:set --app=$2 ${l//\"/}
done < $1