From 4056fb440db2291a9476550487962eb7c7b52b0e Mon Sep 17 00:00:00 2001 From: Tom <20648924+moT01@users.noreply.github.com> Date: Mon, 22 Jul 2024 22:57:07 -0500 Subject: [PATCH] fix: path for finding commit hash in action (#53) --- .github/workflows/merge-and-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merge-and-update.yml b/.github/workflows/merge-and-update.yml index 7e19bab71f..93e9dca953 100644 --- a/.github/workflows/merge-and-update.yml +++ b/.github/workflows/merge-and-update.yml @@ -64,7 +64,7 @@ jobs: git config --global user.name "camperbot" git checkout -b chore/update-i18n-curriculum-submodule git submodule update --remote curriculum/i18n-curriculum - cd i18n-curriculum && SUBMODULE_HASH=$(git rev-parse --short HEAD) && cd .. + cd curriculum/i18n-curriculum && SUBMODULE_HASH=$(git rev-parse --short HEAD) && cd ../.. git add . git commit -m "chore(curriculum): Update i18n-curriculum submodule to $SUBMODULE_HASH" git push -u origin chore/update-i18n-curriculum-submodule -f