Skip to content

Commit 2227ce5

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

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,18 @@ 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+
- uses: webfactory/ssh-agent@v0.9.0
60+
with:
61+
ssh-private-key: |
62+
${{ secrets.GITLAB_TIQI_ZEDBOARD_SSH_KEY }}
63+
${{ secrets.GITLAB_TIQI_RPC_SSH_KEY }}
64+
65+
- name: Add gitlab.phys.ethz.ch to known hosts
66+
run: |
67+
mkdir -p ~/.ssh
68+
chmod 700 ~/.ssh
69+
ssh-keyscan gitlab.phys.ethz.ch >> ~/.ssh/known_hosts
70+
5971
- name: Sync build dependencies
6072
run: uv sync --group build
6173

0 commit comments

Comments
 (0)