From 454fa46b649a4f3530cf35565587d71dc56f607b Mon Sep 17 00:00:00 2001 From: ridel1e Date: Thu, 11 Jul 2024 20:43:59 +0300 Subject: [PATCH] try to update action #2 --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c65b2581d..80ecc5086 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,10 +49,10 @@ jobs: name: ${{ github.sha }} path: ~/build - name: Deploy to host - uses: garygrossgarten/github-action-scp@release + uses: appleboy/scp-action@v0.1.7 with: - local: /home/runner/build - remote: /var/www/test + source: /home/runner/build/* + target: /var/www/test host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} - privateKey: ${{ secrets.KEY }} + key: ${{ secrets.KEY }}