fix: connect to server with ssh key instead of password (safety first)

This commit is contained in:
theoleuthardt 2025-02-23 00:57:16 +01:00
parent 5079fdb97c
commit 13325e4339

View file

@ -68,7 +68,8 @@ jobs:
with: with:
host: ${{ secrets.SSH_HOST }} host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }} username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }} key: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.SSH_PASSPHRASE }}
port: ${{ secrets.PORT }} port: ${{ secrets.PORT }}
script: | script: |
cd "${{ secrets.HOMELAB_PATH }}" cd "${{ secrets.HOMELAB_PATH }}"