Skip to content

Commit

Permalink
fix: now uses .env file in local script
Browse files Browse the repository at this point in the history
  • Loading branch information
David Boyne committed Apr 28, 2021
1 parent b9aca00 commit 6a3d31f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

# Requires, AWS-CLI & Docker installed

# Consume the .env file
if [ ! -f ../.env ]
then
export $(cat .env | xargs)
fi

npm run clean

npm run import-from-aws-and-generate-markdown
Expand Down

0 comments on commit 6a3d31f

Please sign in to comment.