Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maximearmstrong authored Jul 23, 2024
1 parent 27fe715 commit 70c5bb6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
path: project-repo

- name: Move Dagster folder to root
if: steps.prerun.outputs.result == 'pex-deploy'
run: |
cd project-repo
ls -lah
Expand All @@ -54,6 +55,18 @@ jobs:
rm -rf tmp_jaffle_dagster
ls -lah
cd ..
- name: Prepare DBT project for deployment
if: steps.prerun.outputs.result == 'pex-deploy'
# --upgrade-strategy eager picks up newer packages that are required for things to work
run: |
pip install pip --upgrade
cd project-repo
pip install . --upgrade --upgrade-strategy eager
dagster-dbt project prepare-for-deployment --file jaffle_dagster/project.py
# The cli command below can be used to manage syncing the prod manifest to branches if state_path is set on the DbtProject
# dagster-cloud ci dagster-dbt project manage-state --file jaffle_dagster/project.py
shell: bash

- name: Python Executable Deploy
if: steps.prerun.outputs.result == 'pex-deploy'
Expand Down

0 comments on commit 70c5bb6

Please sign in to comment.