ci: remove deprecated ssh-agent action

This commit is contained in:
a.tolmachev
2026-03-25 19:44:03 +03:00
parent 50c3301606
commit a776ae4a73
+6 -6
View File
@@ -18,15 +18,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v5
- name: Setup SSH agent
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
- name: Configure known hosts
- name: Configure SSH key
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
printf '%s\n' "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: Configure known hosts
run: |
printf '%s\n' "${{ secrets.DEPLOY_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts