Skip to content

Commit

Permalink
docs: move docs_new to docs
Browse files Browse the repository at this point in the history
Signed-off-by: Daniil Fedotov <[email protected]>
  • Loading branch information
hairyhum committed Dec 16, 2024
1 parent e54e2d4 commit 05f3ef3
Show file tree
Hide file tree
Showing 42 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: pnpm/action-setup@v4
with:
run_install: false
package_json_file: docs_new/package.json
package_json_file: docs/package.json
version: 8
- name: Setup Node
uses: actions/setup-node@v4
Expand All @@ -39,19 +39,19 @@ jobs:
uses: actions/configure-pages@v5
- name: Install dependencies
run: pnpm install
working-directory: ./docs_new
working-directory: ./docs
- name: Build with VitePress
run: |
echo "{\"version\":\"${RELEASE_TAG}\"}" > ./.vitepress/version.json
pnpm docs:build
working-directory: ./docs_new
working-directory: ./docs
- name: Download the helm index
run: |
curl https://github.com/kanisterio/kanister/releases/download/${RELEASE_TAG}/helm_index.yaml -f -L -o docs_new/.vitepress/dist/index.yaml
curl https://github.com/kanisterio/kanister/releases/download/${RELEASE_TAG}/helm_index.yaml -f -L -o docs/.vitepress/dist/index.yaml
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs_new/.vitepress/dist
path: docs/.vitepress/dist
name: docs

publish_docs:
Expand Down
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Alternatively to build docs using a docker container, you can run:
make docs
```

This will create the `docs_new/.vitepress/dist` folder with html docs there.
This will create the `docs/.vitepress/dist` folder with html docs there.

To start a local webserver that you can use to preview the documentation that
has been rendered by the command above, use this command:
Expand Down
2 changes: 1 addition & 1 deletion build/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -o errexit
set -o xtrace

cd docs_new
cd docs

if [[ -z ${VERSION} ]]
then
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 05f3ef3

Please sign in to comment.