From bf693a3da7535932e7529a8943c1ee8be9c47b21 Mon Sep 17 00:00:00 2001 From: Christian Ost Date: Wed, 23 Oct 2024 19:03:27 +0200 Subject: [PATCH] feat: restrict ssh key and adapt path accordingly --- .github/workflows/production.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 6d0a833..2ed056f 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -22,8 +22,7 @@ jobs: with: switches: "-avrh --delete" path: "dist/" - remote_path: "/var/www/virtual/${{ secrets.SSH_USERNAME }}/html" + remote_path: "/" remote_host: "${{ secrets.SSH_HOST }}" remote_user: "${{ secrets.SSH_USERNAME }}" remote_key: "${{ secrets.SSH_PRIVATE_KEY }}" - - run: echo "deploy"