Skip to content

Commit 17d24b3

Browse files
committed
fix(ci): correct press-kit preview URL in sync-untranslated-issue script
1 parent cf306b3 commit 17d24b3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/scripts/sync-untranslated-issue.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ function generatePreviewPath(filepath) {
7373
.replace(/\/README\.md$/, '') // READMEの場合はディレクトリのみ
7474
.replace(/\.md$/, '');
7575

76+
// reference/press-kit の特殊なパス変換
77+
if (basePath === 'reference/press-kit') {
78+
return 'press-kit';
79+
}
80+
7681
// チュートリアルの特殊なパス変換
7782
if (basePath.startsWith('tutorials/')) {
7883
// tutorials/first-app/intro -> tutorials/first-app

0 commit comments

Comments
 (0)