mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-30 10:53:02 +01:00
Use documentation folder for building project and uploading data
This commit is contained in:
parent
2be7c84203
commit
740453fa18
1 changed files with 4 additions and 2 deletions
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
|
||||||
|
|
Loading…
Reference in a new issue