Skip to content

Commit

Permalink
gha mod (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattromano authored Nov 20, 2024
1 parent 3a1719a commit 3f5a0aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dbt_run_operation_reorg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ run-name: dbt_run_operation_reorg
on:
workflow_dispatch:
schedule:
# Runs at minute 45 every 8 hours (see https://crontab.guru)
- cron: '45 */8 * * *'
# Runs at minute 45 every Sunday (see https://crontab.guru)
- cron: '45 0 * * 0'

env:
DBT_PROFILES_DIR: ./
Expand Down Expand Up @@ -51,4 +51,4 @@ jobs:
- name: Execute block_reorg macro
run: |
dbt run-operation fsc_utils.block_reorg --args "{reorg_model_list: '${{ steps.list_models.outputs.model_list }}', hours: '12'}" && awk '/SQL status/ {print; next} /DELETE FROM/{getline; print} /\/\* {/ {print}' logs/dbt.log
dbt run-operation fsc_utils.block_reorg --args "{reorg_model_list: '${{ steps.list_models.outputs.model_list }}', hours: '169'}" && awk '/SQL status/ {print; next} /DELETE FROM/{getline; print} /\/\* {/ {print}' logs/dbt.log

0 comments on commit 3f5a0aa

Please sign in to comment.