From 47626327afa0c3299e926a72a0d3e762fdaf2853 Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Wed, 1 Nov 2023 04:07:49 +0800 Subject: [PATCH] actions: bug fix for not fetching from upstream --- .github/workflows/sync-helpz.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync-helpz.yml b/.github/workflows/sync-helpz.yml index 79596a7..5e87a29 100644 --- a/.github/workflows/sync-helpz.yml +++ b/.github/workflows/sync-helpz.yml @@ -23,6 +23,7 @@ jobs: run: | transpiled_dir="help/_posts/mirrorz-help-ng-transpiled" if [ -n "$NEW_COMMIT" ]; then + git -C "$transpiled_dir" fetch --all git -C "$transpiled_dir" checkout "$NEW_COMMIT" else git submodule update --remote "$transpiled_dir"