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

This commit is contained in:
ravigulhane 2026-05-20 06:18:01 +00:00
parent 1f0e1969e9
commit 0fe23cfa53
1 changed files with 4 additions and 4 deletions

View File

@ -19,11 +19,11 @@ jobs:
# 2. Extract and Upload only the changed files
- name: Sync Changed Files via SFTP
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
uses: easingthemes/ssh-deploy@v5.1.0
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} # 👈 Swapped password for SSH Key
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