Skip to content

Commit

Permalink
Add known hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuroShepherd committed Jan 22, 2025
1 parent 74ad592 commit 10e9390
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Add GitLab to known hosts
run: |
mkdir -p ~/.ssh
ssh-keyscan gitlab.lrz.de >> ~/.ssh/known_hosts
# You can also verify the fingerprint manually (optional)
# ssh-keyscan gitlab.lrz.de | tee -a ~/.ssh/known_hosts
# - name: Set up SSH key
# run: |
# mkdir -p ~/.ssh
Expand Down

0 comments on commit 10e9390

Please sign in to comment.