Skip to content

Commit 571bd68

Browse files
committed
fix
1 parent 8e9a6a4 commit 571bd68

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/docs-deploy.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,22 @@ jobs:
3030
build:
3131
name: Build Docusaurus
3232
runs-on: ubuntu-latest
33+
defaults:
34+
run:
35+
working-directory: ./website
3336
steps:
3437
- uses: actions/checkout@v4
3538
with:
3639
fetch-depth: 0
37-
- uses: actions/setup-node@v4
38-
with:
39-
node-version: 18
40-
cache: npm
4140
- uses: actions4git/setup-git@v1
4241
- name: Generate versioned docs
4342
run: build_versioned_docs.sh
43+
- uses: actions/setup-node@v4
44+
with:
45+
node-version: 18
46+
cache: npm
4447
- name: Install dependencies
45-
run: npm ci
48+
run: npm install
4649
- name: Build website
4750
run: npm run build -- --no-minify
4851
- name: Upload Build Artifact

website/docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ const config: Config = {
2828
url: 'https://alibaba.github.io/',
2929
// Set the /<baseUrl>/ pathname under which your site is served
3030
// For GitHub pages deployment, it is often '/<projectName>/'
31-
baseUrl: '/fluss-docs/',
31+
baseUrl: '/fluss/',
3232

3333
// GitHub pages deployment config.
3434
// If you aren't using GitHub pages, you don't need these.
3535
organizationName: 'alibaba', // Usually your GitHub org/user name.
36-
projectName: 'fluss-docs', // Usually your repo name.
36+
projectName: 'fluss', // Usually your repo name.
3737
deploymentBranch: 'gh-pages',
3838
trailingSlash: true,
3939

0 commit comments

Comments
 (0)