Skip to content

Commit

Permalink
fix: submodule init command
Browse files Browse the repository at this point in the history
  • Loading branch information
csuvajit committed Oct 26, 2024
1 parent d030b79 commit 3a64786
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3a64786

Please sign in to comment.