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
|
||||
- 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue