From 6ff658bc5cdae6e2d70e02b07c0feafed65e4ec6 Mon Sep 17 00:00:00 2001 From: Joseph Armstrong <70788681+armstjc@users.noreply.github.com> Date: Wed, 31 Jan 2024 22:41:56 -0500 Subject: [PATCH] Fixed bug where the YAML scripts would not run. --- .github/{ => workflows}/update_statsbomb_data_csv.yml | 6 +++--- .github/{ => workflows}/update_statsbomb_data_parquet.yml | 6 +++--- parse_statsbomb_data.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) rename .github/{ => workflows}/update_statsbomb_data_csv.yml (95%) rename .github/{ => workflows}/update_statsbomb_data_parquet.yml (95%) diff --git a/.github/update_statsbomb_data_csv.yml b/.github/workflows/update_statsbomb_data_csv.yml similarity index 95% rename from .github/update_statsbomb_data_csv.yml rename to .github/workflows/update_statsbomb_data_csv.yml index 6370a69..c74b028 100644 --- a/.github/update_statsbomb_data_csv.yml +++ b/.github/workflows/update_statsbomb_data_csv.yml @@ -1,10 +1,10 @@ name: Update Statsbomb Data - CSV on: schedule: - - cron: "59 7 * * 0" + - cron: "59 7 * * *" #- cron: "0 0 30 12 1" - # push: - # branches: [main] + push: + branches: [main] pull_request: branches: [main] diff --git a/.github/update_statsbomb_data_parquet.yml b/.github/workflows/update_statsbomb_data_parquet.yml similarity index 95% rename from .github/update_statsbomb_data_parquet.yml rename to .github/workflows/update_statsbomb_data_parquet.yml index b16f344..e89f886 100644 --- a/.github/update_statsbomb_data_parquet.yml +++ b/.github/workflows/update_statsbomb_data_parquet.yml @@ -1,10 +1,10 @@ name: Update Statsbomb Data - Parquet on: schedule: - - cron: "59 7 * * 0" + - cron: "59 7 * * *" #- cron: "0 0 30 12 1" - # push: - # branches: [main] + push: + branches: [main] pull_request: branches: [main] diff --git a/parse_statsbomb_data.py b/parse_statsbomb_data.py index b717914..4f06b0f 100644 --- a/parse_statsbomb_data.py +++ b/parse_statsbomb_data.py @@ -390,7 +390,7 @@ def get_statsbomb_tracking_data(season: int): if __name__ == "__main__": print("starting up") - for i in range(2019, 2024): + for i in range(2018, 2024): get_statsbomb_tracking_data(i) # get_statsbomb_tracking_data(2019)