Use SSH deploy key for submodule checkout in CI

- Add ssh-key parameter to checkout action in build.yml and release.yml
- Uses DEPLOY_KEY secret for SSH authentication to internal repos
- Fixes 403 permission errors when cloning mods/silo submodule
This commit is contained in:
forbes
2026-01-27 14:28:05 -06:00
parent 41521ea09a
commit c411f11e8b
2 changed files with 2 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ jobs:
with:
submodules: recursive
fetch-depth: 0
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Install pixi if needed
shell: bash

View File

@@ -42,6 +42,7 @@ jobs:
submodules: recursive
fetch-depth: 0
fetch-tags: true
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Install pixi if needed
shell: bash