From 6efd15a7b874cd8aa403bbd02c704398344e1020 Mon Sep 17 00:00:00 2001 From: Jean Cochrane Date: Wed, 22 May 2024 10:28:43 -0500 Subject: [PATCH] Deploy dbt model dependencies before building daily models (#467) --- .github/workflows/build_daily_dbt_models.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build_daily_dbt_models.yaml b/.github/workflows/build_daily_dbt_models.yaml index c14a8720a..a6e2077f6 100644 --- a/.github/workflows/build_daily_dbt_models.yaml +++ b/.github/workflows/build_daily_dbt_models.yaml @@ -31,6 +31,11 @@ jobs: path: ${{ env.PROJECT_DIR }}/${{ env.STATE_DIR }} key: ${{ env.CACHE_KEY }} + - name: Deploy model dependencies + run: ../.github/scripts/deploy_dbt_model_dependencies.sh + working-directory: ${{ env.PROJECT_DIR }} + shell: bash + - name: Build daily models run: dbt run -t "$TARGET" -s tag:daily --defer --state "$STATE_DIR" working-directory: ${{ env.PROJECT_DIR }}