Skip to content

Commit 05e780d

Browse files
add dbt manifest json process
1 parent ff4d324 commit 05e780d

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
ref: ${{ github.head_ref }}
4343
path: project-repo
4444

45+
- name: Set up Python for dbt
46+
if: steps.prerun.outputs.result == 'pex-deploy'
47+
uses: actions/setup-python@v5
48+
with:
49+
python-version: ${{ env.PYTHON_VERSION }}
50+
4551
- name: Copy dbt_project into macro_agents for deployment
4652
if: steps.prerun.outputs.result == 'pex-deploy'
4753
run: |
@@ -50,10 +56,9 @@ jobs:
5056
- name: Generate dbt manifest.json
5157
if: steps.prerun.outputs.result == 'pex-deploy'
5258
run: |
59+
pip install dbt-core dbt-duckdb
5360
cd project-repo/macro_agents/dbt_project
54-
# Install dbt dependencies first if needed
5561
dbt deps || true
56-
# Generate the manifest.json file
5762
dbt parse --target prod || dbt parse
5863
5964
- name: Python Executable Deploy

0 commit comments

Comments
 (0)