From 1fecd6821183753c3ebb621945b404a91022993e Mon Sep 17 00:00:00 2001 From: Christian Ost Date: Wed, 23 Oct 2024 10:50:20 +0200 Subject: [PATCH] fix: read from secrets and not from vars --- .github/workflows/production.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 5862893..6d0a833 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -22,8 +22,8 @@ jobs: with: switches: "-avrh --delete" path: "dist/" - remote_path: "/var/www/virtual/${{ vars.SSH_USERNAME }}/html" - remote_host: "${{ vars.SSH_HOST }}" - remote_user: "${{ vars.SSH_USERNAME }}" + remote_path: "/var/www/virtual/${{ secrets.SSH_USERNAME }}/html" + remote_host: "${{ secrets.SSH_HOST }}" + remote_user: "${{ secrets.SSH_USERNAME }}" remote_key: "${{ secrets.SSH_PRIVATE_KEY }}" - run: echo "deploy"