Merge branch 'main' of http://192.168.1.200:3000/Stratawiz/Rapport-Laravel
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m36s
Details
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m36s
Details
This commit is contained in:
commit
c698e08f89
|
|
@ -0,0 +1,29 @@
|
|||
name: Specific Folder FTP Upload
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'resources/views/form/**'
|
||||
|
||||
jobs:
|
||||
ftp-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# 1. Checkout the repository code fully
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# 2. Sync the targeted folder using the corrected rsync args
|
||||
- name: Sync Changed Files via SFTP
|
||||
uses: easingthemes/ssh-deploy@v5.1.0
|
||||
with:
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
REMOTE_HOST: '157.245.101.206'
|
||||
REMOTE_USER: 'root'
|
||||
SOURCE: 'resources/views/form' # 👈 Removed trailing slash
|
||||
TARGET: '/var/www/rapport/resources/views/' # 👈 Point to parent folder
|
||||
ARGS: '-rlgodivzc' # 👈 Fixed: changed to lowercase verbose mode, removed capital V
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf, sdfsdfsdf, sdfgsdfsdfsdf, sdfgsdfsdf,
|
||||
sdfdfgdfgdfgdf
|
||||
gdfgdfgdfg
|
||||
dfgdfgdfgdf
|
||||
gdfgdfgdfgdfgdfgdf
|
||||
dfgdfgdfg
|
||||
|
||||
v
|
||||
xcv
|
||||
xcvv
|
||||
xcvxc
|
||||
v
|
||||
|
||||
sdvsdsd
|
||||
Loading…
Reference in New Issue