Revert to ssh-agent
All checks were successful
Unittests / deploy-dev (push) Successful in 49s
Unittests / unittests (push) Successful in 1m15s

This commit is contained in:
Adam Štrauch 2025-09-11 19:31:29 +02:00
parent 62bc275b40
commit 29a9594ddb
Signed by: cx
GPG key ID: 7262DAFE292BCE20

View file

@ -41,10 +41,9 @@ jobs:
NODES: "192.168.15.160"
steps:
- uses: actions/checkout@v4
- name: ssh key
run: |
echo "${{ secrets.SSH_MASTER_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- uses: webfactory/ssh-agent@v0.9.1
with:
ssh-private-key: ${{ secrets.SSH_MASTER_KEY }}
- name: deploy
run: |
# echo LS1
@ -63,8 +62,3 @@ jobs:
ssh root@$NODE systemctl restart node-api
done
# - name: Clean up
# run: |
# rm -f ~/.ssh/id_ed25519
# if: always()