diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 01b3c38..9c1eff2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,20 +7,20 @@ on: jobs: build: - name: Load data into MotherDuck - runs-on: macos-latest - steps: - - name: Checkout - uses: actions/checkout@v4.1.1 - - name: Setup Python - uses: actions/setup-python@v5.0.0 - with: - python-version: "3.11.x" - - name: Install Python dependencies - run: | - python3 -m pip install uv - uv pip install --system -r requirements.txt - - name: Run Transformations - run: | - dbt deps - dbt build --target prod + - name: Load data into MotherDuck + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + - name: Setup Python + uses: actions/setup-python@v5.0.0 + with: + python-version: "3.11.x" + - name: Install Python dependencies + run: | + python3 -m pip install uv + uv pip install --system -r requirements.txt + - name: Run Transformations + run: | + dbt deps + dbt build --target prod diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index c87f4d6..aad3f5e 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -38,3 +38,4 @@ jobs: timestamp=$(date -u) git commit -F message.txt || exit 0 git push + # TODO: add dbt build to MD on fresh data scrape