Skip to content

Commit 5400544

Browse files
committed
Replace config.mts instead of creating config.versioned.mts
1 parent 340f4f8 commit 5400544

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ jobs:
126126
}
127127
EOF
128128
129-
- name: Create versioned config
129+
- name: Replace config with versioned config
130130
run: |
131-
cat > docs/.vitepress/config.versioned.mts << 'EOFCONFIG'
131+
cat > docs/.vitepress/config.mts << 'EOFCONFIG'
132132
import { defineConfig } from 'vitepress'
133133
import { tabsMarkdownPlugin } from 'vitepress-plugin-tabs'
134134
import {
@@ -204,7 +204,7 @@ jobs:
204204
EOFCONFIG
205205
206206
- name: Build VitePress docs for v${{ matrix.version }}
207-
run: npx vitepress build docs --config docs/.vitepress/config.versioned.mts
207+
run: npx vitepress build docs
208208

209209
- name: Upload versioned docs artifact
210210
uses: actions/upload-artifact@v5

0 commit comments

Comments
 (0)