From a85e19ec737706f0197a37b1f0b898b444c6012c Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 04:23:30 +0000 Subject: [PATCH 01/28] Upload files to ".gitea/workflows/ftp_deploy.yml" --- .../workflows/ftp_deploy.yml/ftp_deploy.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml new file mode 100644 index 00000000..dc88a5b1 --- /dev/null +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -0,0 +1,29 @@ +name: Specific Folder FTP Upload + +on: + push: + branches: + - main # Change this if your default branch is master + paths: + - 'resources/views/form/**' # 👈 CHANGE THIS to your folder name + +jobs: + ftp-deploy: + runs-on: ubuntu-latest + steps: + # 1. Checkout the code + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 2 # Fetches the current and previous commit to calculate differences + + # 2. Extract and Upload only the changed files + - name: Sync Changed Files to FTP + uses: SamKirkland/FTP-Deploy-Action@v4.3.5 + with: + server: ${{ secrets.FTP_SERVER }} + username: ${{ secrets.FTP_USERNAME }} + password: ${{ secrets.FTP_PASSWORD }} + # Only sync the files within your specific folder + local-dir: ./resources/views/form/ # 👈 CHANGE THIS to match your folder + server-dir: /var/www/rapport/resources/views/form/ # 👈 CHANGE THIS to your remote FTP path \ No newline at end of file From 977b79b25b166768b3404bec43bb05aaa7d8169c Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 04:48:53 +0000 Subject: [PATCH 02/28] Add resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 resources/views/form/test_file.txt diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt new file mode 100644 index 00000000..bdf08de0 --- /dev/null +++ b/resources/views/form/test_file.txt @@ -0,0 +1 @@ +test file \ No newline at end of file From eb909bb5e62e7ca79791f93c0d727147a60db5a0 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 04:55:12 +0000 Subject: [PATCH 03/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index dc88a5b1..9b41d095 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -24,6 +24,7 @@ jobs: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }} + port: 22 # Only sync the files within your specific folder local-dir: ./resources/views/form/ # 👈 CHANGE THIS to match your folder server-dir: /var/www/rapport/resources/views/form/ # 👈 CHANGE THIS to your remote FTP path \ No newline at end of file From e0769f5606435d78b2047f06cf929c5eab534a1e Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 04:56:19 +0000 Subject: [PATCH 04/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index bdf08de0..d5bdc1de 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file \ No newline at end of file +test file, again \ No newline at end of file From fc0deadb95cc2eb3cff79bf10ea910780402b65d Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 05:19:05 +0000 Subject: [PATCH 05/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 9b41d095..637fd210 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -18,8 +18,8 @@ jobs: fetch-depth: 2 # Fetches the current and previous commit to calculate differences # 2. Extract and Upload only the changed files - - name: Sync Changed Files to FTP - uses: SamKirkland/FTP-Deploy-Action@v4.3.5 + - name: Sync Changed Files via SFTP + uses: nwtgck/actions-sftp-deploy@v1.2.2 with: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} From b4f441e6df5184d2e85ff0afa5048cdcd4b96af2 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 05:20:03 +0000 Subject: [PATCH 06/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index d5bdc1de..f32fca00 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again \ No newline at end of file +test file, again, again \ No newline at end of file From 17e24fe4cdb6794524f0343d363bce7209e89f71 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 05:32:55 +0000 Subject: [PATCH 07/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 637fd210..20028b2f 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -19,7 +19,7 @@ jobs: # 2. Extract and Upload only the changed files - name: Sync Changed Files via SFTP - uses: nwtgck/actions-sftp-deploy@v1.2.2 + uses: wlixcc/SFTP-Deploy-Action@v1.2.4 with: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} From f2bb5fed8d2fb792970c72baaa8beed7fbf1a356 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 05:34:05 +0000 Subject: [PATCH 08/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index f32fca00..8c555d9b 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again, again \ No newline at end of file +test file, again, again, fgdfgfd \ No newline at end of file From 1ff3a1b6097b4b25c99d41d1c3712d488d51deac Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 05:39:22 +0000 Subject: [PATCH 09/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 20028b2f..76830ab3 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -25,6 +25,6 @@ jobs: username: ${{ secrets.FTP_USERNAME }} password: ${{ secrets.FTP_PASSWORD }} port: 22 - # Only sync the files within your specific folder - local-dir: ./resources/views/form/ # 👈 CHANGE THIS to match your folder - server-dir: /var/www/rapport/resources/views/form/ # 👈 CHANGE THIS to your remote FTP path \ No newline at end of file + local_path: 'resources/views/form' # 👈 Removed leading ./ and trailing /* + remote_path: '/var/www/rapport/resources/views/form' # 👈 Removed trailing slash + sftp_args: '-o StrictHostKeyChecking=no' # 👈 Bypasses host key verification issues in containers \ No newline at end of file From f80ed3c21affbca8dacd14e5b38bab8d40396d6c Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 05:40:00 +0000 Subject: [PATCH 10/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index 8c555d9b..714ee7c9 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again, again, fgdfgfd \ No newline at end of file +test file, again, again, fgdfgfd . fsfsdfsdf \ No newline at end of file From 4570d892572b82d86f0a7744ae368efe3f77a3ec Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 05:46:26 +0000 Subject: [PATCH 11/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 76830ab3..4e750df0 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -23,7 +23,7 @@ jobs: with: server: ${{ secrets.FTP_SERVER }} username: ${{ secrets.FTP_USERNAME }} - password: ${{ secrets.FTP_PASSWORD }} + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} # 👈 Swapped password for SSH Key port: 22 local_path: 'resources/views/form' # 👈 Removed leading ./ and trailing /* remote_path: '/var/www/rapport/resources/views/form' # 👈 Removed trailing slash From 1f0e1969e93fa362ae1d9f297b9975e174950a8b Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 05:47:26 +0000 Subject: [PATCH 12/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index 714ee7c9..aeb35386 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again, again, fgdfgfd . fsfsdfsdf \ No newline at end of file +test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd \ No newline at end of file From 0fe23cfa533ac0117bd54717140b78247ffe02c0 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 06:18:01 +0000 Subject: [PATCH 13/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 4e750df0..38933b45 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -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 From 0dc159520138958eb5edeaa7c3603ac7a634164b Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 06:18:43 +0000 Subject: [PATCH 14/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index aeb35386..f9a24e08 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd \ No newline at end of file +test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd \ No newline at end of file From bb47b88389e139cc9d30607cfc57a2923dd0bac2 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 07:50:30 +0000 Subject: [PATCH 15/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 38933b45..4c411f6d 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -22,9 +22,10 @@ jobs: uses: easingthemes/ssh-deploy@v5.1.0 with: 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 - sftp_args: '-o StrictHostKeyChecking=no' # 👈 Bypasses host key verification issues in containers \ No newline at end of file + REMOTE_HOST: '157.245.101.206' + REMOTE_USER: 'root' + # 👇 Fixed: Points rsync to the exact source within the checkout space + SOURCE: 'resources/views/form/' + TARGET: '/var/www/rapport/resources/views/form/' + # 👇 Added explicitly to prevent scanning node_modules/vendor completely + ARGS: '-rlgoDIVzcv --delete --include="***" --exclude="*" ' \ No newline at end of file From 469ba70ef7ed76ad23c8a15c27d5371938961f7f Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 07:51:12 +0000 Subject: [PATCH 16/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index f9a24e08..d69383ba 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd \ No newline at end of file +test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf \ No newline at end of file From 82ad39de98dd49b95aee012b489a3ceaa8dd0616 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 07:58:59 +0000 Subject: [PATCH 17/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 4c411f6d..eaf53ff3 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -28,4 +28,4 @@ jobs: SOURCE: 'resources/views/form/' TARGET: '/var/www/rapport/resources/views/form/' # 👇 Added explicitly to prevent scanning node_modules/vendor completely - ARGS: '-rlgoDIVzcv --delete --include="***" --exclude="*" ' \ No newline at end of file + ARGS: '-rlgoDIVzcv' \ No newline at end of file From 35609ac40cc1f1cffd74d3ef8613b94361b4c3f2 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Wed, 20 May 2026 07:59:37 +0000 Subject: [PATCH 18/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index d69383ba..5b28f7b5 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf \ No newline at end of file +test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf, sdfsdfsdf \ No newline at end of file From 10e1a3156c0b61d2bb0c79395ae83f8904a6eac7 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 04:25:25 +0000 Subject: [PATCH 19/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index eaf53ff3..c67ec560 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -25,7 +25,8 @@ jobs: REMOTE_HOST: '157.245.101.206' REMOTE_USER: 'root' # 👇 Fixed: Points rsync to the exact source within the checkout space - SOURCE: 'resources/views/form/' + # 👇 Force the runner to evaluate the absolute checkout root explicitly + SOURCE: '${{ gitea.workspace }}/resources/views/form/' TARGET: '/var/www/rapport/resources/views/form/' # 👇 Added explicitly to prevent scanning node_modules/vendor completely ARGS: '-rlgoDIVzcv' \ No newline at end of file From ab1d6d72737ec50b815c2a8f1ecf486e19309ff4 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 04:26:23 +0000 Subject: [PATCH 20/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index 5b28f7b5..565f2b5e 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf, sdfsdfsdf \ No newline at end of file +test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf, sdfsdfsdf, sdfgsdfsdfsdf \ No newline at end of file From 10846f0fd91c4611a7bbfa6d6e66007d8d0c9319 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 04:31:13 +0000 Subject: [PATCH 21/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index c67ec560..46b8431c 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -25,8 +25,8 @@ jobs: REMOTE_HOST: '157.245.101.206' REMOTE_USER: 'root' # 👇 Fixed: Points rsync to the exact source within the checkout space - # 👇 Force the runner to evaluate the absolute checkout root explicitly - SOURCE: '${{ gitea.workspace }}/resources/views/form/' + # 👇 Fixed: Using a relative dot-notation path to align with the plugin's internal root mapping + SOURCE: './resources/views/form/' TARGET: '/var/www/rapport/resources/views/form/' # 👇 Added explicitly to prevent scanning node_modules/vendor completely ARGS: '-rlgoDIVzcv' \ No newline at end of file From e0ee64e7f141f4fb97f419b2d3fdcc1efef9d651 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 04:31:47 +0000 Subject: [PATCH 22/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index 565f2b5e..21705afc 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1 @@ -test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf, sdfsdfsdf, sdfgsdfsdfsdf \ No newline at end of file +test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf, sdfsdfsdf, sdfgsdfsdfsdf, sdfgsdfsdf \ No newline at end of file From 53f249df708e931f41163cfaee07c7967cafde3e Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 05:01:36 +0000 Subject: [PATCH 23/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .../workflows/ftp_deploy.yml/ftp_deploy.yml | 48 ++++++++++--------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index 46b8431c..b32da125 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -1,32 +1,34 @@ -name: Specific Folder FTP Upload +name: Local to Remote RSYNC Deploy on: push: branches: - - main # Change this if your default branch is master + - main paths: - - 'resources/views/form/**' # 👈 CHANGE THIS to your folder name + - 'resources/views/form/**' jobs: - ftp-deploy: + deploy: runs-on: ubuntu-latest steps: - # 1. Checkout the code - - name: Checkout Repository - uses: actions/checkout@v4 - with: - fetch-depth: 2 # Fetches the current and previous commit to calculate differences - - # 2. Extract and Upload only the changed files - - 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' - # 👇 Fixed: Points rsync to the exact source within the checkout space - # 👇 Fixed: Using a relative dot-notation path to align with the plugin's internal root mapping - SOURCE: './resources/views/form/' - TARGET: '/var/www/rapport/resources/views/form/' - # 👇 Added explicitly to prevent scanning node_modules/vendor completely - ARGS: '-rlgoDIVzcv' \ No newline at end of file + - name: Fetch Locally and RSYNC to Remote VPS + run: | + echo "📂 1. Navigating to local directory..." + cd /var/www/rapport + + echo "🔄 2. Fetching latest changes from Gitea down to local..." + git fetch origin main + git reset --hard origin/main + + echo "🔒 3. Securing SSH Key permissions for the sync..." + # Enforces strict owner-only permissions so SSH doesn't reject the key + chmod 600 /home/swtserver/ravimac + + echo "🚚 4. Pushing changes from local folder to the remote server..." + # Uses lowercase verbose flags and parent-folder directory target mapping + rsync -rlgodivzc \ + -e "ssh -p 22 -i /home/swtserver/ravimac -o StrictHostKeyChecking=no" \ + resources/views/form \ + root@157.245.101.206:/var/www/rapport/resources/views/ + + echo "✨ Remote deployment successful!" \ No newline at end of file From f9aeeb962bd52ee883c04b9df276a323f79b875d Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 05:03:56 +0000 Subject: [PATCH 24/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index 21705afc..6d24e2bc 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -1 +1,6 @@ -test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf, sdfsdfsdf, sdfgsdfsdfsdf, sdfgsdfsdf \ No newline at end of file +test file, again, again, fgdfgfd . fsfsdfsdf, sfsdfsdfsd, sdfsdfsdfsd, sfsdfsdf, sdfsdfsdf, sdfgsdfsdfsdf, sdfgsdfsdf, +sdfdfgdfgdfgdf +gdfgdfgdfg +dfgdfgdfgdf +gdfgdfgdfgdfgdfgdf +dfgdfgdfg \ No newline at end of file From e3b69a28d087e2cc972eef47696c3d114590070d Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 05:06:50 +0000 Subject: [PATCH 25/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index b32da125..a14b13e4 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -9,7 +9,7 @@ on: jobs: deploy: - runs-on: ubuntu-latest + runs-on: host # 👈 Change from 'ubuntu-latest' to 'host' steps: - name: Fetch Locally and RSYNC to Remote VPS run: | From 2aa58d22dec7686cda7728b468edcb00ae993ce6 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 05:07:24 +0000 Subject: [PATCH 26/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index 6d24e2bc..fbd05421 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -3,4 +3,10 @@ sdfdfgdfgdfgdf gdfgdfgdfg dfgdfgdfgdf gdfgdfgdfgdfgdfgdf -dfgdfgdfg \ No newline at end of file +dfgdfgdfg + +v +xcv +xcvv +xcvxc +v \ No newline at end of file From 68794c9a978171038987d334340cedfdd3214943 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 05:13:10 +0000 Subject: [PATCH 27/28] Update .gitea/workflows/ftp_deploy.yml/ftp_deploy.yml --- .../workflows/ftp_deploy.yml/ftp_deploy.yml | 43 ++++++++----------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml index a14b13e4..afe6568c 100644 --- a/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml +++ b/.gitea/workflows/ftp_deploy.yml/ftp_deploy.yml @@ -1,4 +1,4 @@ -name: Local to Remote RSYNC Deploy +name: Specific Folder FTP Upload on: push: @@ -8,27 +8,22 @@ on: - 'resources/views/form/**' jobs: - deploy: - runs-on: host # 👈 Change from 'ubuntu-latest' to 'host' + ftp-deploy: + runs-on: ubuntu-latest steps: - - name: Fetch Locally and RSYNC to Remote VPS - run: | - echo "📂 1. Navigating to local directory..." - cd /var/www/rapport - - echo "🔄 2. Fetching latest changes from Gitea down to local..." - git fetch origin main - git reset --hard origin/main - - echo "🔒 3. Securing SSH Key permissions for the sync..." - # Enforces strict owner-only permissions so SSH doesn't reject the key - chmod 600 /home/swtserver/ravimac - - echo "🚚 4. Pushing changes from local folder to the remote server..." - # Uses lowercase verbose flags and parent-folder directory target mapping - rsync -rlgodivzc \ - -e "ssh -p 22 -i /home/swtserver/ravimac -o StrictHostKeyChecking=no" \ - resources/views/form \ - root@157.245.101.206:/var/www/rapport/resources/views/ - - echo "✨ Remote deployment successful!" \ No newline at end of file + # 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 \ No newline at end of file From 963e1e0b3edd6df89febb8e51764591cfd88aba5 Mon Sep 17 00:00:00 2001 From: ravigulhane Date: Fri, 22 May 2026 05:13:55 +0000 Subject: [PATCH 28/28] Update resources/views/form/test_file.txt --- resources/views/form/test_file.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/form/test_file.txt b/resources/views/form/test_file.txt index fbd05421..b96a618c 100644 --- a/resources/views/form/test_file.txt +++ b/resources/views/form/test_file.txt @@ -9,4 +9,6 @@ v xcv xcvv xcvxc -v \ No newline at end of file +v + +sdvsdsd \ No newline at end of file