Skip to content

Commit

Permalink
fix: .env generation
Browse files Browse the repository at this point in the history
  • Loading branch information
schw4rzlicht committed Jun 16, 2020
1 parent 6f2256e commit e781e61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .ci/generate-dotenv.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash

if [[ "$1" = "undefined" ]]
if [[ -z "$1" ]]
then
echo "NODE_ENV=production" > .env
else
echo $1
echo "NODE_ENV=staging" > .env
fi

0 comments on commit e781e61

Please sign in to comment.