force write known hosts
Some checks failed
gitea-deepak/nixconf/pipeline/head This commit looks good
testing nix stuff / nix (ubuntu-latest) (push) Failing after 17s

This commit is contained in:
Deepak Mallubhotla 2025-03-19 18:52:09 -05:00
parent 7dd45f9d00
commit be3a440309
Signed by: deepak
GPG Key ID: 47831B15427F5A55

View File

@ -22,6 +22,8 @@ jobs:
# known_hosts: ${{ secrets.SSH_GITEA_KNOWN_HOSTS }} # known_hosts: ${{ secrets.SSH_GITEA_KNOWN_HOSTS }}
#- name: Fix SSH key #- name: Fix SSH key
# run: sed -i 's/\r$//g' /root/.ssh/gitea_action # run: sed -i 's/\r$//g' /root/.ssh/gitea_action
- name: set up hosts known
run: echo ${{ secrets.GITEA_KNOWN_HOSTS }} >> /root/.ssh/known_hosts
- name: List SSH dir - name: List SSH dir
run: ls /root/.ssh/ run: ls /root/.ssh/
- name: List files in the repository - name: List files in the repository