Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml

This commit is contained in:
ravigulhane 2026-05-20 07:50:30 +00:00
parent 0dc1595201
commit bb47b88389
1 changed files with 7 additions and 6 deletions

View File

@ -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
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="*" '