Skip to content

Commit 1c2a4d7

Browse files
maybe sorts out checkout
1 parent 749c421 commit 1c2a4d7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/tidy3d-docs-sync-readthedocs-repo.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ jobs:
7676
fetch-tags: true
7777
persist-credentials: true
7878

79+
- name: convert-ssh-submodules-to-https
80+
run: |
81+
if [ -f .gitmodules ]; then
82+
echo "Converting SSH submodule URLs to HTTPS..."
83+
sed -i 's|git@github.com:|https://github.com/|g' .gitmodules
84+
git submodule sync
85+
echo "Submodule URLs converted successfully"
86+
else
87+
echo "No .gitmodules file found, skipping conversion"
88+
fi
89+
7990
- name: push-mirror-repo
8091
id: sync-result
8192
env:

0 commit comments

Comments
 (0)