Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml
This commit is contained in:
parent
1f0e1969e9
commit
0fe23cfa53
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue