From 1b73a626007ad3420e1f7a40f3b75e548f04e986 Mon Sep 17 00:00:00 2001 From: Vladimir Litvinchik Date: Thu, 26 Sep 2024 18:03:28 +0300 Subject: [PATCH] Cleanup `common` folder before checking out the theme --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ba04df..a0434b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: - name: Submodule update run: | + rm -rf common git submodule update --init --recursive git submodule foreach git pull origin master @@ -33,7 +34,6 @@ jobs: - name: Run and build Hugo run: | - rm -rf common/content/${{ env.PRODUCT }} mkdir -p common/content/${{ env.PRODUCT }} cp -r net common/content/${{ env.PRODUCT }} cp _index.md common/content/${{ env.PRODUCT }}