From bb47b88389e139cc9d30607cfc57a2923dd0bac2 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 07:50:30 +0000 Subject: [PATCH] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 38933b45..4c411f6d 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -22,9 +22,10 @@ jobs: uses: easingthemes/ssh-deploy@v5.1.0 with: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - REMOTE_HOST: '157.245.101.206' # 👈 Directly matches your SSH command IP - REMOTE_USER: 'root' # 👈 Directly matches your SSH command user - port: 22 - local_path: 'resources/views/form' # 👈 Removed leading ./ and trailing /* - remote_path: '/var/www/rapport/resources/views/form' # 👈 Removed trailing slash - sftp_args: '-o StrictHostKeyChecking=no' # 👈 Bypasses host key verification issues in containers \ No newline at end of file + REMOTE_HOST: '157.245.101.206' + REMOTE_USER: 'root' + # 👇 Fixed: Points rsync to the exact source within the checkout space + SOURCE: 'resources/views/form/' + TARGET: '/var/www/rapport/resources/views/form/' + # 👇 Added explicitly to prevent scanning node_modules/vendor completely + ARGS: '-rlgoDIVzcv --delete --include="***" --exclude="*" ' \ No newline at end of file