From 3c73bd26cf2c2d0e9f40e41f7d7c7765dbcd970e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MARQUET?= Date: Thu, 20 Jun 2024 12:06:40 +0200 Subject: [PATCH] Change SCP to SFTP --- .github/workflows/deploy.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b0d0685..5ebda71 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,11 +25,12 @@ jobs: npm run build - name: Copy build directory to server - uses: easingthemes/gh-action-sftp@master + uses: appleboy/scp-action@master with: host: ${{ secrets.SERVER_HOST }} username: ${{ secrets.SERVER_USERNAME }} password: ${{ secrets.SERVER_PASSWORD }} port: ${{ secrets.SERVER_PORT }} - local: "build/*" - remote: ${{ secrets.SERVER_DIRECTORY }} \ No newline at end of file + source: "build/*" + target: ${{ secrets.SERVER_DIRECTORY }} + protocol: sftp \ No newline at end of file