Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml
This commit is contained in:
parent
0dc1595201
commit
bb47b88389
|
|
@ -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="*" '
|
||||
Loading…
Reference in New Issue