add env specific workflow env

This commit is contained in:
shah 2025-02-24 17:12:32 -08:00
parent 5e48c2319d
commit ec76ec8765

View File

@ -40,7 +40,7 @@ jobs:
secrets: inherit
with:
warehouse: ${{ vars.WAREHOUSE }}
environment: prod
environment: ${{ github.ref == 'refs/heads/main' && 'workflow_prod' || 'workflow_dev' }}
command: dbt test --selector test_udfs --threads 24
dispatched: