Skip to content

Commit

Permalink
chore(submodules): update submodules with new repos and paths, adjust…
Browse files Browse the repository at this point in the history
… workflow for api build
  • Loading branch information
HsiangNianian committed Sep 8, 2024
1 parent 53cbbfa commit 380562e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
- name: Remove API Doc
run: rm -rf docs/source/api

- name: Clone Submodule
run: |
git submodule update --init --recursive
- name: Moving Submodule
run: |
ls
Expand All @@ -45,7 +49,6 @@ jobs:
mv HydroRollCore/hrc HydroRollCore
mv TRPGNivis/nivis_python TRPGNivisSDK
- name: Build API Doc For HydroRoll
run: |
pdm run sphinx-apidoc -o docs/source/api hydro_roll -f -e --tocfile index
Expand All @@ -55,13 +58,20 @@ jobs:
pdm run sphinx-apidoc -o docs/source/api OneRoll -f -e --tocfile index
shell: bash

- name: Remove Submodule
- name: Remove Temp Folder
run: |
rm -rf OneRoll
rm -rf getPCCard
rm -rf HydroRollCore
rm -rf TRPGNivisSDK
- name: Remove Submodule
run: |
git submodule deinit -f OneRoll
git submodule deinit -f getPCCard
git submodule deinit -f HydroRollCore
git submodule deinit -f TRPGNivisSDK
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down

0 comments on commit 380562e

Please sign in to comment.