Skip to content

Commit

Permalink
on-run-end hook correction (#357)
Browse files Browse the repository at this point in the history
README.md
- Removed backticks and one parenthesis
  • Loading branch information
poloaraujo authored Jun 15, 2023
1 parent adf7358 commit 7cb1a07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ packages:
3. Add an on-run-end hook to your `dbt_project.yml`

```yml
`on-run-end:
- "{{ dbt_artifacts.upload_results(results) }}"`
on-run-end:
- "{{ dbt_artifacts.upload_results(results) }}"
```
We recommend adding a conditional here so that the upload only occurs in your production environment, such as:
```yml
on-run-end:
- "{% if target.name == 'prod' %}{{ dbt_artifacts.upload_results(results) }}{% endif %}"`)
- "{% if target.name == 'prod' %}{{ dbt_artifacts.upload_results(results) }}{% endif %}"
```
4. Run the tables!
Expand Down

0 comments on commit 7cb1a07

Please sign in to comment.