change ssh install
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:46:20 -05:00
parent 57d1ce2654
commit 1a1aa73f81
Signed by: deepak
GPG Key ID: 47831B15427F5A55

View File

@ -15,11 +15,11 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install SSH keys - name: Install SSH keys
uses: shimataro/ssh-key-action@d4fffb50872869abe2d9a9098a6d9c5aa7d16be4 uses: webfactory/ssh-agent@v0.9.0
with: with:
key: ${{ secrets.SSH_GITEA_SSH_KEY }} ssh-private-key: ${{ secrets.SSH_GITEA_SSH_KEY }}
name: gitea_action # name: gitea_action
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: List SSH dir - name: List SSH dir