Skip to content

Commit

Permalink
Merge pull request #15 from mycaule/patch-1
Browse files Browse the repository at this point in the history
Typo in config files / entrypoint.sh
  • Loading branch information
mwhitaker authored Feb 3, 2022
2 parents b4ba47f + afdbd1a commit 3cc14b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ then
elif [ -n "${DBT_USER}" ] && [ -n "$DBT_PASSWORD" ]
then
echo trying to use user/password
sed -i "s/_user_/${DBT_USER}/g" ./datab.yml
sed -i "s/_user_/${DBT_USER}/g" ./profiles.yml
sed -i "s/_password_/${DBT_PASSWORD}/g" ./profiles.yml
elif [ -n "${DBT_TOKEN}" ]
then
echo trying to use DBT_TOKEN/databricks
sed -i "s/_token_/${DBT_TOKEN}/g" ./profiles.yml
sed -i "s/_token_/${DBT_TOKEN}/g" ./datab.yml
else
echo no tokens or credentials supplied
fi
Expand Down

0 comments on commit 3cc14b4

Please sign in to comment.