From 6ca53ff89648d9ecacc6b4c83fb819e455c28db2 Mon Sep 17 00:00:00 2001
From: Ansh Sarkar <anshsark18@gmail.com>
Date: Wed, 5 Oct 2022 09:57:21 +0530
Subject: [PATCH] fix: updated artifact and build directory paths

Signed-off-by: Ansh Sarkar <anshsark18@gmail.com>
---
 .github/workflows/deploy-to-github-pages.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/deploy-to-github-pages.yml b/.github/workflows/deploy-to-github-pages.yml
index 6afa137..62bb232 100644
--- a/.github/workflows/deploy-to-github-pages.yml
+++ b/.github/workflows/deploy-to-github-pages.yml
@@ -38,14 +38,14 @@ jobs:
       - name: Install Dependencies
         run: cd docs && npm install
       - name: Build
-        run: npm run build
+        run: cd docs && npm run build
       - name: Setup Pages
         uses: actions/configure-pages@v2
       - name: Upload artifact
         uses: actions/upload-pages-artifact@v1
         with:
           # Upload entire repository
-          path: 'build'
+          path: 'docs/build'
       - name: Deploy to GitHub Pages
         id: deployment
         uses: actions/deploy-pages@v1
\ No newline at end of file
-- 
GitLab