Skip to content

Commit f8f11e1

Browse files
committed
run git submodules sync so it doesn't crack
Signed-off-by: rishichawda <[email protected]>
1 parent fd5006a commit f8f11e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/update-content.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ jobs:
2222
run: |
2323
git config --global user.email "[email protected]"
2424
git config --global user.name "$GITHUB_ACTOR"
25+
git config --global url."https://${{ secrets.CONTENT_UPDATE_PAT }}@github.com/".insteadOf "https://github.com/"
2526
2627
- name: Update content submodule
2728
run: |
29+
git submodule sync
2830
git submodule update --remote --recursive
2931
git add content
30-
git commit -m "Update content submodule" || echo "No changes to commit"
32+
git commit -m "[github action] auto update content submodule" || echo "No changes to commit"
3133
git push origin main

0 commit comments

Comments
 (0)