Skip to content

Commit 5d8d1dd

Browse files
committed
action: adds gitlab ssh-key usage to workflow
1 parent 413ce58 commit 5d8d1dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ jobs:
5656
irm https://astral.sh/uv/install.ps1 | iex
5757
echo "$env:USERPROFILE\.local\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
5858
59+
- name: Configure SSH for GitLab
60+
run: |
61+
mkdir -p ~/.ssh
62+
echo "${{ secrets.GITLAB_SSH_KEY }}" > ~/.ssh/id_ed25519
63+
chmod 600 ~/.ssh/id_ed25519
64+
ssh-keyscan gitlab.phys.ethz.ch >> ~/.ssh/known_hosts
65+
5966
- name: Sync build dependencies
6067
run: uv sync --group build
6168

0 commit comments

Comments
 (0)