Track theme submodule via SSH URL, drop CI-only override

origin is already an SSH remote for this repo, so there's no real
reason for the submodule to stay on HTTPS. Removes the runtime
'git config submodule...url' override from the workflow, which is
now redundant.
This commit is contained in:
2026-08-13 15:52:20 +00:00
parent 7468d18885
commit 3109013403
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -38,10 +38,6 @@ jobs:
- name: Fetch theme submodule - name: Fetch theme submodule
run: | run: |
# Override the submodule's tracked HTTPS URL for this checkout only,
# so it's fetched over SSH with the deploy key instead of needing a
# token with access to both repos.
git config submodule.themes/latex.url git@git.haemka.in:hmk/pelican-latex.git
GIT_SSH_COMMAND="ssh -4 -i ~/.ssh/deploy_key -o StrictHostKeyChecking=yes" \ GIT_SSH_COMMAND="ssh -4 -i ~/.ssh/deploy_key -o StrictHostKeyChecking=yes" \
git submodule update --init --recursive git submodule update --init --recursive
+1 -1
View File
@@ -1,3 +1,3 @@
[submodule "themes/latex"] [submodule "themes/latex"]
path = themes/latex path = themes/latex
url = https://git.haemka.in/hmk/pelican-latex.git url = git@git.haemka.in:hmk/pelican-latex.git