github_website_sync: fix dbt

Signed-off-by: Alexis Pentori <alexis@status.im>
This commit is contained in:
Alexis Pentori 2024-02-02 09:38:33 +01:00
parent 8722b38d82
commit 9cc14e7b4c
No known key found for this signature in database
GPG Key ID: 65250D2801E47A10
2 changed files with 2 additions and 2 deletions

2
dbt.py
View File

@ -34,7 +34,7 @@ def dbt_models():
)
BashOperator(
task_id='dbt_postgres_run',
bash_command='dbt run --profiles-dir /dbt --project-dir /dbt/dbt-models'
bash_command='dbt run --profiles-dir /dbt --project-dir /dbt/dbt-models --select github'
)
dbt_models()

View File

@ -53,7 +53,7 @@ def github_website_sync():
# Launch DBT transformation on the data previously fetched
BashOperator(
task_id='dbt_postgres_run',
bash_command='dbt run --profiles-dir /dbt --project-dir /dbt/dbt-models/'
bash_command='dbt run --profiles-dir /dbt --project-dir /dbt/dbt-models/ --select github'
)
# Trigger Airbyte Sync from main database to Hasura
AirbyteTriggerSyncOperator(