Skip to content

Commit

Permalink
docs(fix): add repo name to vitepress config
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazzes committed Feb 28, 2024
1 parent 9c43247 commit 9aad4ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,21 @@ jobs:
with:
node-version: 20
cache: yarn
- uses: actions/configure-pages@v4
- run: |

- name: Configure Pages
uses: actions/configure-pages@v4

- name: Install dependencies and build docs
run: |
cd docs
yarn install
yarn run docs:build
ls -la
touch ./docs/.vitepress/dist/.nojekyll
- uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
path: ./docs/.vitepress/dist

deploy:
environment:
Expand Down
1 change: 1 addition & 0 deletions docs/docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: "React Native Zoom Toolkit",
description: "A set of components and utilities for common pinch to zoom requirements",
base: '/react-native-zoomable/',
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
Expand Down

0 comments on commit 9aad4ca

Please sign in to comment.