actions: bug fix for not fetching from upstream

This commit is contained in:
Miao Wang 2023-11-01 04:07:49 +08:00
parent 9fdd14242f
commit 47626327af

View File

@ -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"