diff --git a/data/github_actions__workflows.csv b/data/github_actions__workflows.csv index 5f3561a..34bbb32 100644 --- a/data/github_actions__workflows.csv +++ b/data/github_actions__workflows.csv @@ -1,5 +1,5 @@ workflow_name,workflow_schedule dbt_run_streamline_chainhead,"3,33 * * * *" -dbt_run_scheduled_non_realtime,"15,45 * * * *" +dbt_run_scheduled_non_realtime,"19,49 * * * *" dbt_test_tasks,"8 * * * *" -dbt_run_streamline_decoder,"23,53 * * * *" \ No newline at end of file +dbt_run_streamline_decoder,"27,57 * * * *" \ No newline at end of file diff --git a/makefile b/makefile new file mode 100644 index 0000000..f20465a --- /dev/null +++ b/makefile @@ -0,0 +1,12 @@ +DBT_TARGET ?= dev + +deploy_new_github_action: + dbt seed -s github_actions__workflows -t $(DBT_TARGET) + dbt run -m "berachain_models,tag:gha_tasks" --full-refresh -t $(DBT_TARGET) +ifeq ($(findstring dev,$(DBT_TARGET)),dev) + dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":False}' -t $(DBT_TARGET) +else + dbt run-operation fsc_utils.create_gha_tasks --vars '{"START_GHA_TASKS":True}' -t $(DBT_TARGET) +endif + +.PHONY: deploy_new_github_action \ No newline at end of file