Make workflows run in Workflows environment #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Load data into MotherDuck | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
environment: | |
name: Workflows | |
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 |