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: yarn
cache-dependency-path: documentation/yarn.lock cache-dependency-path: documentation/yarn.lock
- name: Install dependencies - name: Install dependencies
run: yarn install --frozen-lockfile --non-interactive run: |
cd documentation
yarn install --frozen-lockfile --non-interactive
- name: Build - name: Build
run: | run: |
cd documentation cd documentation
@ -33,7 +35,7 @@ jobs:
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v2
with: with:
# 👇 Specify build output path # 👇 Specify build output path
path: build path: documentation/build
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v2 uses: actions/deploy-pages@v2