Skip to content

Commit

Permalink
Korjattu dbt:n käynnistymistä
Browse files Browse the repository at this point in the history
  • Loading branch information
augustk committed Oct 8, 2024
1 parent 92f8c45 commit e054273
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dbt-container/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ ls -Al /root/dbt

cd dbt
. venv/bin/activate

dbt build --target=prod "$1"
if [[ -z "$1" ]]; then
echo "Running DBT without any extra paramaters"
dbt build --target=prod
else
echo "Running DBT with extra paramaters: $1"
dbt build --target=prod "$1"
fi

exit 0

0 comments on commit e054273

Please sign in to comment.