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 uses: easingthemes/ssh-deploy@v5.1.0
with: with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
REMOTE_HOST: '157.245.101.206' # 👈 Directly matches your SSH command IP REMOTE_HOST: '157.245.101.206'
REMOTE_USER: 'root' # 👈 Directly matches your SSH command user REMOTE_USER: 'root'
port: 22 # 👇 Fixed: Points rsync to the exact source within the checkout space
local_path: 'resources/views/form' # 👈 Removed leading ./ and trailing /* SOURCE: 'resources/views/form/'
remote_path: '/var/www/rapport/resources/views/form' # 👈 Removed trailing slash TARGET: '/var/www/rapport/resources/views/form/'
sftp_args: '-o StrictHostKeyChecking=no' # 👈 Bypasses host key verification issues in containers # 👇 Added explicitly to prevent scanning node_modules/vendor completely
ARGS: '-rlgoDIVzcv --delete --include="***" --exclude="*" '