Signed-off-by: Nick Slowinski <nick@nick-slowinski.de>
Dieser Commit ist enthalten in:
Nick Slowinski 2024-08-05 19:07:04 +02:00
Ursprung 02d45eb921
Commit dfff5df618
Signiert von: nickslowinski
GPG-Schlüssel-ID: A28671573AA347CC

Datei anzeigen

@ -23,8 +23,9 @@ jobs:
echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/actions.key
chmod 600 ~/.ssh/actions.key
env:
SSH_USER: ${{ secrets.WEB_SSH_USER }}
SSH_KEY: ${{ secrets.WEB_SSH_KEY }}
- name: Test SSH
run: ssh -i ~/.ssh/actions.key $SSH_USER@be.nick-slowinski.de uptime
run: ssh -o "IdentitiesOnly=yes" -i ~/.ssh/actions.key $SSH_USER@be.nick-slowinski.de uptime
env:
SSH_USER: ${{ secrets.WEB_SSH_USER }}