Use documentation folder for building project and uploading data

This commit is contained in:
sabaimran 2024-01-07 20:50:15 +05:30
parent 2be7c84203
commit 740453fa18

View file

@ -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