Skip to content

Commit

Permalink
add dbt project
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed Aug 28, 2024
1 parent 144c55c commit c9a72a2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/push-to-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ jobs:
with:
deployment-name: neel-test
workspace: ${{ secrets.WORKSPACE_ID }}
- name: DBT Deploy
uses: astronomer/deploy-action@dbt-deploy
with:
action: dbt-deploy
deployment-name: neel-test
workspace: ${{ secrets.WORKSPACE_ID }}
26 changes: 26 additions & 0 deletions dbt/dbt_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "jaffle_shop"

config-version: 2
version: "0.1"

profile: "jaffle_shop"

model-paths: ["models"]
seed-paths: ["seeds"]
test-paths: ["tests"]
analysis-paths: ["analysis"]
macro-paths: ["macros"]

target-path: "target"
clean-targets:
- "target"
- "dbt_modules"
- "logs"

require-dbt-version: [">=1.0.0", "<2.0.0"]

models:
jaffle_shop:
materialized: table
staging:
materialized: view

0 comments on commit c9a72a2

Please sign in to comment.