From 4357830e2c482bd0f078ca1c4abdeb74ec54e72d Mon Sep 17 00:00:00 2001 From: Anssi Juvonen Date: Wed, 30 Oct 2024 14:10:23 +0200 Subject: [PATCH] Fix keyfile param --- .github/workflows/production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index b20317b..f7ba07a 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -33,7 +33,7 @@ jobs: echo "Starting synchronization" - if ! rclone sync ./dist/ "sftp:${{ secrets.FTP_USER }}:${{ secrets.FTP_HOST }}:${{ secrets.FTP_DIRECTORY }}" --ssh-key-file /tmp/deploy_key --delete-excluded --progress --dry-run --verbose --log-file=rclone.log; then + if ! rclone sync ./dist/ "sftp:${{ secrets.FTP_USER }}:${{ secrets.FTP_HOST }}:${{ secrets.FTP_DIRECTORY }}" --sftp-key-file /tmp/deploy_key --delete-excluded --progress --dry-run --verbose --log-file=rclone.log; then echo "Error: rclone sync failed" >&2 exit 1 fi