From 740453fa184a57fc468ac889d6fd3a63f4e6bea6 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Sun, 7 Jan 2024 20:50:15 +0530 Subject: [PATCH] Use documentation folder for building project and uploading data --- .github/workflows/github_pages_deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_pages_deploy.yml b/.github/workflows/github_pages_deploy.yml index a7814d51..d777eea0 100644 --- a/.github/workflows/github_pages_deploy.yml +++ b/.github/workflows/github_pages_deploy.yml @@ -21,7 +21,9 @@ jobs: cache: yarn cache-dependency-path: documentation/yarn.lock - name: Install dependencies - run: yarn install --frozen-lockfile --non-interactive + run: | + cd documentation + yarn install --frozen-lockfile --non-interactive - name: Build run: | cd documentation @@ -33,7 +35,7 @@ jobs: uses: actions/upload-pages-artifact@v2 with: # 👇 Specify build output path - path: build + path: documentation/build - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2