From 8c72e04a4fec13528377aa1cc45ded3bc5e236d8 Mon Sep 17 00:00:00 2001
From: DARSAN <iamspdarsan@gmail.com>
Date: Tue, 2 Jul 2024 16:59:02 +0530
Subject: [PATCH] action fixed

---
 .github/workflows/ftpdeploy.yml | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ftpdeploy.yml b/.github/workflows/ftpdeploy.yml
index dd350c7..735a775 100644
--- a/.github/workflows/ftpdeploy.yml
+++ b/.github/workflows/ftpdeploy.yml
@@ -52,6 +52,12 @@ jobs:
       - name: Generating Static Files
         run: yarn build
 
+      - name: Upload build artifacts
+        uses: actions/upload-artifact@v4
+        with:
+          name: github-pages
+          path: ./kinact-package
+
   deploy:
     needs: build
     permissions:
@@ -59,9 +65,13 @@ jobs:
       id-token: write
     environment:
       name: github-pages
-      url: ${{ steps.deployment.outputs.page_url }}
     runs-on: ubuntu-latest
     steps:
+      - name: Download build artifacts
+        uses: actions/download-artifact@v4
+        with:
+          name: github-pages
+          path: ./path/to/download/artifacts
+
       - name: Deploy to GitHub Pages
-        id: deployment
         uses: actions/deploy-pages@v4.0.5