Skip to content

Commit

Permalink
chore: add base path env
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jan 12, 2024
1 parent 28c009d commit 9d38f43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
node-version: 20
- run: npm ci
- run: npm run build -w packages/app
env:
BASE_PATH: /service-lens

lint:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions packages/docs/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const withNextra = require('nextra')({
module.exports = withNextra({
output: 'export',
distDir: 'dist',
basePath: process.env.BASE_PATH ?? '',
images: {
unoptimized: true
}
Expand Down

0 comments on commit 9d38f43

Please sign in to comment.