From 69f6108ff46ef5eaa909dcd1c94fb1db971d8c67 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 00:05:16 +0100 Subject: [PATCH 01/19] Updated workflow for testing purposes Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index b072849..10cc5ae 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -24,5 +24,5 @@ jobs: with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 - password: ${{ secrets.ftp_password }} + password: somePassword local-dir: ./dist/ From afd7578ca605f61829eb498cc26d286f7e588478 Mon Sep 17 00:00:00 2001 From: rodude123 Date: Fri, 20 Oct 2023 00:39:16 +0100 Subject: [PATCH 02/19] Updated workflow to fit gitea --- .github/workflows/actions-test.yaml | 19 ------------------- .github/workflows/ftpDeploy.yml | 2 +- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .github/workflows/actions-test.yaml diff --git a/.github/workflows/actions-test.yaml b/.github/workflows/actions-test.yaml deleted file mode 100644 index f5e600a..0000000 --- a/.github/workflows/actions-test.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] - -jobs: - Explore-Gitea-Actions: - runs-on: Ubuntu-22.04 - steps: - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - - name: Check out repository code - uses: actions/checkout@v3 - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - - run: echo "🍏 This job's status is ${{ job.status }}." \ No newline at end of file diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 10cc5ae..89040d8 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -24,5 +24,5 @@ jobs: with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 - password: somePassword + password: $${{ FTPPASSWORD }} local-dir: ./dist/ From f87409c604d0aad3b9c634b6a7293128a89244f9 Mon Sep 17 00:00:00 2001 From: rodude123 Date: Fri, 20 Oct 2023 00:42:32 +0100 Subject: [PATCH 03/19] Updated workflow to fit gitea secret format --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 89040d8..6ef9690 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -24,5 +24,5 @@ jobs: with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 - password: $${{ FTPPASSWORD }} + password: $${{ secrets.FTPPASSWORD }} local-dir: ./dist/ From 28c9edc090de2c03ad172356928da2d779a8804d Mon Sep 17 00:00:00 2001 From: rodude123 Date: Fri, 20 Oct 2023 01:00:55 +0100 Subject: [PATCH 04/19] swtiched to different ftp deploy action --- .github/workflows/ftpDeploy.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 6ef9690..368793a 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -20,9 +20,9 @@ jobs: npm start - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@4.1.0 + uses: sebastianpopp/ftp-action@releases/v2 with: - server: ftp.rohitpai.co.uk - username: u987021215.rodude123 - password: $${{ secrets.FTPPASSWORD }} - local-dir: ./dist/ + host: ftp.rohitpai.co.uk + user: u987021215.rodude123 + password: $${{ FTPPASSWORD }} + localDir: "dist" From 4fc08c05e5b08cbd29a9aa7cbdd7f5aa754b4fe8 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 09:32:07 +0100 Subject: [PATCH 05/19] Updated ftp worflow Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 368793a..529adc3 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -25,4 +25,4 @@ jobs: host: ftp.rohitpai.co.uk user: u987021215.rodude123 password: $${{ FTPPASSWORD }} - localDir: "dist" + localDir: ./dist From 2cb1b30439dfc6b49dbd89a2feebee53499eb3e5 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 09:34:31 +0100 Subject: [PATCH 06/19] Updated ftp worflow Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 529adc3..1b5d7b7 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -25,4 +25,4 @@ jobs: host: ftp.rohitpai.co.uk user: u987021215.rodude123 password: $${{ FTPPASSWORD }} - localDir: ./dist + localDir: ./dist/ From 20456dd6441c1ce3cd596c610f14184d3386ea8f Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 09:38:05 +0100 Subject: [PATCH 07/19] Updated ftp worflow to use another actions as a test Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 1b5d7b7..3b23e49 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -20,9 +20,9 @@ jobs: npm start - name: 📂 Sync files - uses: sebastianpopp/ftp-action@releases/v2 + uses: airvzxf/ftp-deployment-action@latest with: - host: ftp.rohitpai.co.uk + server: ftp.rohitpai.co.uk user: u987021215.rodude123 password: $${{ FTPPASSWORD }} - localDir: ./dist/ + local_dir: ./dist/ From 46a01c471f6795ed49fd05fc5d63000f963c6e2c Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 09:40:16 +0100 Subject: [PATCH 08/19] Updated ftp worflow to fix directory issue Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 3b23e49..adfe9fa 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -25,4 +25,4 @@ jobs: server: ftp.rohitpai.co.uk user: u987021215.rodude123 password: $${{ FTPPASSWORD }} - local_dir: ./dist/ + local_dir: "./dist" From f3ed313b501ac3dd4fee54ed503b0659ba9e579c Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 09:47:53 +0100 Subject: [PATCH 09/19] Updated ftp worflow to use node LTS --- .github/workflows/ftpDeploy.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index adfe9fa..df2a081 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -6,19 +6,17 @@ jobs: runs-on: ubuntu-22.04 steps: - name: 🚚 Get latest code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Use Node.js 12 - uses: actions/setup-node@v2-beta + - name: Use Node.js LTS + uses: actions/setup-node@v3 with: - node-version: '12' - - - name: 🔨Run Gulp + node-version: 'lts' run: | export github="true" npm install npm start - + - name: 📂 Sync files uses: airvzxf/ftp-deployment-action@latest with: From d6254edc9c2f80a97076df3cc5bb1a8344d5d419 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 09:48:59 +0100 Subject: [PATCH 10/19] Updated ftp worflow Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index df2a081..57a207f 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -12,7 +12,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: 'lts' - run: | + - run: | export github="true" npm install npm start From e2b13cf0e3b390f0fe86c1b51385f42a2320ce19 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 09:50:58 +0100 Subject: [PATCH 11/19] Updated ftp worflow to use node latest as lts didn't work Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 57a207f..07381d6 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -8,10 +8,10 @@ jobs: - name: 🚚 Get latest code uses: actions/checkout@v3 - - name: Use Node.js LTS + - name: Use Node.js Latest uses: actions/setup-node@v3 with: - node-version: 'lts' + node-version: 'latest' - run: | export github="true" npm install From 7bbfbe79054d3d05b102692f0a9d5158d8776264 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 09:57:49 +0100 Subject: [PATCH 12/19] Updated ftp worflow to newer version of the original workflow Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 07381d6..7ee17b0 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -18,9 +18,9 @@ jobs: npm start - name: 📂 Sync files - uses: airvzxf/ftp-deployment-action@latest + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 with: server: ftp.rohitpai.co.uk - user: u987021215.rodude123 + username: u987021215.rodude123 password: $${{ FTPPASSWORD }} - local_dir: "./dist" + local-dir: ./dist From f3091582f47bf510e7b477493b5774313ccdd011 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 10:02:49 +0100 Subject: [PATCH 13/19] Updated ftp worflow Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 7ee17b0..66ee2f1 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -23,4 +23,4 @@ jobs: server: ftp.rohitpai.co.uk username: u987021215.rodude123 password: $${{ FTPPASSWORD }} - local-dir: ./dist + local-dir: "./dist From 2cf281bce6094ca74c1ebc40cea5be4a4249c593 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 10:03:46 +0100 Subject: [PATCH 14/19] Updated ftp worflow Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 66ee2f1..48506ef 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -23,4 +23,4 @@ jobs: server: ftp.rohitpai.co.uk username: u987021215.rodude123 password: $${{ FTPPASSWORD }} - local-dir: "./dist + local_dir: ./dist \ No newline at end of file From f90ae7dbec13f936c074229a2b0cf3c82bf4a134 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 10:06:05 +0100 Subject: [PATCH 15/19] Updated ftp worflow to fix password issue Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 48506ef..0767ae1 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -8,19 +8,21 @@ jobs: - name: 🚚 Get latest code uses: actions/checkout@v3 - - name: Use Node.js Latest + - name: Use Node.js 12 uses: actions/setup-node@v3 with: - node-version: 'latest' - - run: | + node-version: 'latestFTPPASSWORD' + + - name: 🔨Run Gulp + run: | export github="true" npm install npm start - + - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + uses: SamKirkland/FTP-Deploy-Action@4.3.4 with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 - password: $${{ FTPPASSWORD }} - local_dir: ./dist \ No newline at end of file + password: ${{ FTPPASSWORD }} + local-dir: ./dist/ From 8a01cc5fb5b9eb134f2d539d47fcb72f04cbf169 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 10:07:07 +0100 Subject: [PATCH 16/19] Updated ftp worflow to use correct versioning Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 0767ae1..d054047 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -20,7 +20,7 @@ jobs: npm start - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@4.3.4 + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 From c9c662c9874f9a6357f5233b14fa280dc93b0bda Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 10:07:57 +0100 Subject: [PATCH 17/19] Updated ftp worflow Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index d054047..e25327c 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -8,10 +8,10 @@ jobs: - name: 🚚 Get latest code uses: actions/checkout@v3 - - name: Use Node.js 12 + - name: Use Node.js Latest uses: actions/setup-node@v3 with: - node-version: 'latestFTPPASSWORD' + node-version: 'latest' - name: 🔨Run Gulp run: | From aa00c7d21fa4aa5672e7d8f0884874380af4d9b0 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 10:21:33 +0100 Subject: [PATCH 18/19] Gitea actions test Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index e25327c..3b08923 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -19,7 +19,7 @@ jobs: npm install npm start - - name: 📂 Sync files + - name: 📂 Sync files to server uses: SamKirkland/FTP-Deploy-Action@v4.3.4 with: server: ftp.rohitpai.co.uk From 1b39c58f76b663082ebf37b073d4b1e988090884 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 10:23:31 +0100 Subject: [PATCH 19/19] Updated ftp worflow Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 3b08923..0ba8108 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -24,5 +24,5 @@ jobs: with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 - password: ${{ FTPPASSWORD }} + password: ${{ secrets.FTPPASSWORD }} local-dir: ./dist/