From 3a647867df3cdc4518c05bd50d6da23bb581868c Mon Sep 17 00:00:00 2001 From: suvajit Date: Sat, 26 Oct 2024 15:15:57 +0530 Subject: [PATCH] fix: submodule init command --- .github/workflows/deploy-github-pages.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index 2af7483..e3d030b 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -24,7 +24,7 @@ jobs: fetch-depth: 0 - name: Update Submodule - run: git pull --recurse-submodules && git submodule update --remote --recursive --init + run: git submodule init && git submodule update --remote - name: Commit Changes uses: EndBug/add-and-commit@v7 @@ -60,14 +60,6 @@ jobs: - name: Build run: yarn build - - name: README.md - run: | - echo "# Documentation Branch" >> build/README.md - echo "This branch hosts the documentation files used for https://clashofclans.js.org/. No manual commits should ever need to be done to this branch." >> build/README.md - echo "## Commits" >> build/README.md - echo "- [clashperk/clashofclans.js@$(git rev-parse --short HEAD:lib)](https://github.com/clashperk/clashofclans.js/commit/$(git rev-parse HEAD:lib))" >> build/README.md - echo "- [clashperk/clashofclans.js.org@$(git rev-parse --short HEAD)](https://github.com/clashperk/clashofclans.js.org/commit/$(git rev-parse HEAD))" >> build/README.md - - name: Setup Pages uses: actions/configure-pages@v3 - name: Build with Jekyll