Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Sung Won Chung committed Feb 6, 2024
1 parent 1a2ea4a commit f0f908a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/dbt_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }}

# TODO: comment this step out if you don't have Datafold Cloud yet
# TODO: replace --ci-config-id 345 with your unique datafold ci config id
- name: submit artifacts to datafold
run: |
set -ex
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dbt_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }}
SNOWFLAKE_SCHEMA: "${{ format('{0}_{1}', 'PR_NUM', steps.findPr.outputs.pr) }}"

# TODO: comment this step out if you don't have Datafold Cloud yet
# TODO: replace --ci-config-id 345 with your unique datafold ci config id
- name: submit artifacts to datafold
run: |
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,12 @@ dbt build --target prod
git checkout -b feature/your-feature
```

7. Make some changes to your dbt models and push to your remote repository
7. Make some changes to your dbt models and push to your remote repository. You can copy and paste the examples here and run it locally: [example_dbt_changes](example_dbt_changes/)

```bash
dbt build
```

8. See your CI pipeline run and test your changes in your pull request

9. Merge the pull request and watch as your changes are deployed to production and your staging schema is cleaned up

0 comments on commit f0f908a

Please sign in to comment.