mirror of
https://github.com/FlipsideCrypto/base-models.git
synced 2026-02-06 15:26:44 +00:00
gha mod (#226)
This commit is contained in:
parent
3a1719aa23
commit
3f5a0aae85
@ -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: ./
|
||||
@ -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
|
||||
Loading…
Reference in New Issue
Block a user