Skip to content

Commit

Permalink
Cleaning up workflow, adding base to vitepress config
Browse files Browse the repository at this point in the history
  • Loading branch information
Urs Hofmann committed Jul 22, 2024
1 parent 470eb92 commit dbad9d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
# - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm
# - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun
- name: Setup Node
uses: actions/setup-node@v4
with:
Expand All @@ -44,7 +42,7 @@ jobs:
- name: Install dependencies
run: npm ci # or pnpm install / yarn install / bun install
- name: Build with VitePress
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
run: npm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export default defineConfig({
},

markdown: {
math: true
},

math: true
},
}
base: '/opensaft/',
})

0 comments on commit dbad9d5

Please sign in to comment.