Skip to content

Commit

Permalink
git status for submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Aug 14, 2024
1 parent 4e4e2d1 commit 54f9401
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build_commit_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,15 @@ jobs:
with:
submodules: recursive

- name: Update teddycloud_web submodule
run: git submodule update --remote teddycloud_web
# - name: Update teddycloud_web submodule
# run: git submodule update --remote teddycloud_web

- name: Git status
run: |
git status
cd teddycloud_web
git status
cd ..
- uses: actions/setup-node@v4
with:
Expand All @@ -33,9 +40,6 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "SciLor"
- name: Git status
run: |
git status
- name: Commit and push if changed
run: |
if [[ -n $(git status --porcelain) ]]; then
Expand Down

0 comments on commit 54f9401

Please sign in to comment.