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 # 2. Extract and Upload only the changed files
- name: Sync Changed Files via SFTP - name: Sync Changed Files via SFTP
uses: wlixcc/SFTP-Deploy-Action@v1.2.4 uses: easingthemes/ssh-deploy@v5.1.0
with: with:
server: ${{ secrets.FTP_SERVER }} SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
username: ${{ secrets.FTP_USERNAME }} REMOTE_HOST: '157.245.101.206' # 👈 Directly matches your SSH command IP
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} # 👈 Swapped password for SSH Key REMOTE_USER: 'root' # 👈 Directly matches your SSH command user
port: 22 port: 22
local_path: 'resources/views/form' # 👈 Removed leading ./ and trailing /* local_path: 'resources/views/form' # 👈 Removed leading ./ and trailing /*
remote_path: '/var/www/rapport/resources/views/form' # 👈 Removed trailing slash remote_path: '/var/www/rapport/resources/views/form' # 👈 Removed trailing slash