From 41dfa7224b4ed81cdf845f21a12c2fd0ded90a16 Mon Sep 17 00:00:00 2001 From: Sebastien Graf Date: Thu, 15 Feb 2024 09:38:21 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20fic=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gh-pages.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 753dbb7..c55d359 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -36,11 +36,12 @@ jobs: run: yarn build - name: Deploy to Server - uses: burnett01/rsync-deployments@6.0.0 - with: - switches: -avzr --delete - path: dist/ - remote_path: ${{ env.DEPLOY_TARGET }} - remote_host: "ig7dp.ftp.infomaniak.com" - remote_user: "ig7dp_antistatique" - remote_key: ${{ secrets.PRIVATE_SSH_KEY }} \ No newline at end of file + uses: easingthemes/ssh-deploy@main + env: + SSH_PRIVATE_KEY: ${{ secrets.PRIVATE_SSH_KEY }} + SSH_CMD_ARGS: "-o StrictHostKeyChecking=no -o PubkeyAcceptedKeyTypes=ssh-rsa" + ARGS: "-avz --delete" + SOURCE: "dist/" + REMOTE_HOST: "ig7dp.ftp.infomaniak.com" + REMOTE_USER: "ig7dp_antistatique" + TARGET: ${{ env.DEPLOY_TARGET }}