-
-
Save jch254/2e1210a70b6c96bd11646a0d4afb98e4 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
echo "Exporting environment variables from env.variables section of $1" | |
export $( | |
cat "$1" | | |
shyaml get-values-0 env.variables | | |
while IFS='' read -r -d '' key && IFS='' read -r -d '' value; do | |
echo $key=$value | |
done | |
) | |
echo "Successfully exported environment variables from $1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment