From 9e477ea2260d9a8a660e7a0164297dd4e5f6959f Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Tue, 10 Dec 2024 17:16:32 +0100 Subject: [PATCH] Fix add_mod_port not triggering hugo workflow --- .github/workflows/add_mod_port.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/add_mod_port.yml b/.github/workflows/add_mod_port.yml index 1a4b58d..eca1174 100644 --- a/.github/workflows/add_mod_port.yml +++ b/.github/workflows/add_mod_port.yml @@ -40,8 +40,7 @@ jobs: cache-dependency-path: scripts/requirements.txt - name: Install dependencies - run: | - pip install -r scripts/requirements.txt + run: pip install -r scripts/requirements.txt - name: Run add_mod_port.py run: | @@ -64,3 +63,8 @@ jobs: git add . git commit -m "[Wurst-Bot] Port $MOD $MOD_VERSION to Minecraft $MC_VERSION ($MODLOADER)" git push + + # For some reason the commit above doesn't automatically trigger the hugo + # workflow, so we need to explicitly start it here. + - name: Trigger hugo workflow + run: gh workflow run hugo.yml