Skip to content

Commit 6498233

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

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ 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 manually
60+
run: |
61+
mkdir -p ~/.ssh
62+
chmod 700 ~/.ssh
63+
cat > ~/.ssh/id_ed25519 <<'EOF'
64+
${{ secrets.GITLAB_SSH_KEY }}
65+
EOF
66+
chmod 600 ~/.ssh/id_ed25519
67+
ssh-keyscan gitlab.phys.ethz.ch >> ~/.ssh/known_hosts
68+
5969
- name: Sync build dependencies
6070
run: uv sync --group build
6171

0 commit comments

Comments
 (0)