Skip to content

Commit

Permalink
Ensure submodule is correctly initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsejse committed Nov 10, 2024
1 parent 08e7077 commit 598952d
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/automatic_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,38 +26,10 @@ jobs:
pip install requests
pip install beautifulsoup4
- name: Remove cached submodule data
run: |
git submodule deinit -f utilities
rm -rf .git/modules/utilities
git submodule update --init --recursive
# Explicitly initialize and update submodules
- name: Force submodule initialization
run: |
git submodule sync
git submodule update --init --recursive
- name: Show current working directory
run: pwd

- name: List root directory
run: ls -la

- name: Show submodule status
run: git submodule status

- name: List 'utilities' directory
run: ls -la utilities

- name: List 'utilities/scripts' directory
run: ls -la utilities/scripts

- name: Run README update script
working-directory: ${{ github.workspace }}
run: python utilities/scripts/update_readme.py

- name: Run BUILD docs script
working-directory: ${{ github.workspace }}
run: python utilities/scripts/build_docs.py

- name: Commit and push changes
Expand All @@ -75,7 +47,6 @@ jobs:
git commit -m "📝 DOCS: Automatic CI/CD Update of README."
git push
deploy-to-pages:
needs: update-readme
runs-on: ubuntu-latest
Expand Down

0 comments on commit 598952d

Please sign in to comment.