Merge branch 'main' of http://192.168.1.200:3000/Stratawiz/Rapport-Laravel
Specific Folder FTP Upload / ftp-deploy (push) Successful in 1m36s Details

This commit is contained in:
Tanuja Pansare 2026-05-22 11:04:18 +05:30
commit c698e08f89
2 changed files with 43 additions and 0 deletions

View File

@ -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

View File

@ -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