mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Use documentation folder for building project and uploading data
This commit is contained in:
6
.github/workflows/github_pages_deploy.yml
vendored
6
.github/workflows/github_pages_deploy.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user