We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--env-file
1 parent 9ba010e commit 190b51eCopy full SHA for 190b51e
1 file changed
build.sh
@@ -109,6 +109,13 @@ if [ -f "$ENV_FILE" ]; then
109
ENV_FILE="$( cd "$( dirname "$ENV_FILE" )" && pwd )/$( basename "$ENV_FILE" )"
110
echo "Reading env file $ENV_FILE"
111
. "$ENV_FILE"
112
+else
113
+ if [ "$ENV_FILE" = '.env' ]; then
114
+ echo "Not reading from .env because it does not exist"
115
+ else
116
+ echo "env file does not exist: $ENV_FILE"
117
+ exit 1
118
+ fi
119
fi
120
121
# Process job variables
0 commit comments