From b116f9dd11cbf6756ddace9c41f89b9ad78e24e9 Mon Sep 17 00:00:00 2001 From: nickschneider Date: Thu, 24 Oct 2024 18:51:21 +0200 Subject: [PATCH] =?UTF-8?q?nm=C3=A4=C3=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f6b921d..91dc741 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,6 +15,14 @@ jobs: echo "VM_HOST: ${{ vars.VM_HOST }}" echo "VM_USERNAME: ${{ vars.VM_USERNAME }}" + - name: Test SSH Key Access + run: | + if [ -z "${{ secrets.VM_SSH_PRIVATE_KEY }}" ]; then + echo "SSH private key not found!" + else + echo "SSH private key exists." + fi + - name: Test SSH Connection uses: appleboy/ssh-action@v1.0.3 with: