From 765c7647dcdc97aad4a5635f9d9184b81fa54bcf Mon Sep 17 00:00:00 2001 From: Freed GB Date: Fri, 24 Jul 2026 15:14:46 +0200 Subject: [PATCH] fix: Add deploy key to secret and use SSH for submodule path --- .github/workflows/deploy.yml | 4 ++-- .gitmodules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6bc291d..d7c212d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,9 +30,9 @@ jobs: - name: Checkout uses: actions/checkout@v5 with: - fetch-depth: 0 # Not needed if lastUpdated is not enabled + fetch-depth: 0 submodules: recursive - token: ${{ secrets.GITHUB_TOKEN }} + ssh-key: ${{ secrets.PAMI_DEPLOY_KEY }} - uses: pnpm/action-setup@v4 diff --git a/.gitmodules b/.gitmodules index eabc44a..dc25db0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "docs/Info/PAMI"] path = docs/Info/PAMI - url = https://github.com/RobotechNancy/PAMI_2026.git + url = git@github.com:RobotechNancy/PAMI_2026.git branch = feature/doc_only