Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Iduoad authored Dec 22, 2023
1 parent 48e8be1 commit b8f4bd2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
# with:
# ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Test SSH
run: |
eval "$(ssh-agent -s)"
echo ${{ secrets.SSH_PRIVATE_KEY }} > id_rsa
ssh-add id_rsa
ssh-add -l
ssh [email protected] ls /
docker -H ssh://[email protected] ps

0 comments on commit b8f4bd2

Please sign in to comment.