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