From 094210541d144f7437839fabeda3512f0ad9a88c Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 10 Nov 2024 04:42:41 +0100 Subject: [PATCH] Ensure submodule is correctly initialized --- .github/workflows/automatic_update.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/automatic_update.yml b/.github/workflows/automatic_update.yml index 48f5940..d83af52 100644 --- a/.github/workflows/automatic_update.yml +++ b/.github/workflows/automatic_update.yml @@ -26,6 +26,12 @@ jobs: pip install requests pip install beautifulsoup4 + - name: Remove cached submodule data + run: | + git submodule deinit -f utilities + rm -rf .git/modules/utilities + git submodule update --init --recursive + - name: Run README update script run: python utilities/scripts/update_readme.py