From 31090134036ee6164d2a90330e12a4ff45e95cef Mon Sep 17 00:00:00 2001 From: haemka Date: Thu, 13 Aug 2026 15:52:20 +0000 Subject: [PATCH] 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. --- .gitea/workflows/build-deploy.yml | 4 ---- .gitmodules | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitea/workflows/build-deploy.yml b/.gitea/workflows/build-deploy.yml index 14d3cd3..9cae596 100644 --- a/.gitea/workflows/build-deploy.yml +++ b/.gitea/workflows/build-deploy.yml @@ -38,10 +38,6 @@ jobs: - name: Fetch theme submodule 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 submodule update --init --recursive diff --git a/.gitmodules b/.gitmodules index 2c09c92..5c494d8 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "themes/latex"] path = themes/latex - url = https://git.haemka.in/hmk/pelican-latex.git + url = git@git.haemka.in:hmk/pelican-latex.git