Created
June 16, 2021 21:50
-
-
Save willianantunes/537da8fbcde9f38552e9ecdb038d73a8 to your computer and use it in GitHub Desktop.
Import environment variables from a file (GitHub Actions
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
while read line; do | |
if [[ $line =~ ^([a-z]|[A-Z]).+ ]]; then | |
echo "Settings the following ==> $line" | |
echo "$line" >> $GITHUB_ENV | |
fi | |
done < .env.development |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment