Skip to content

Commit 0b7180d

Browse files
committed
docs(static-deploy): add workflow file location for GitHub Pages
1 parent 6d81189 commit 0b7180d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.vitepress/config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,11 @@ export default defineConfig({
493493
languages: ['ts', 'js', 'json'],
494494
codeTransformers: [transformerTwoslash()],
495495
config(md) {
496-
md.use(groupIconMdPlugin)
496+
md.use(groupIconMdPlugin, {
497+
titleBar: {
498+
includeSnippet: true,
499+
},
500+
})
497501
md.use(markdownItImageSize, {
498502
publicDir: path.resolve(import.meta.dirname, '../public'),
499503
})

guide/static-deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ $ npm run preview
6363

6464
2. リポジトリー設定ページにある GitHub Pages の設定から、デプロイ元を "GitHub Actions" にすることで、プロジェクトをビルドしてデプロイするワークフローを作成できます。npm を使用して依存関係をインストールし、ビルドするサンプルワークフローが提供されています:
6565

66-
<<< ./static-deploy-github-pages.yaml#content
66+
<<< ./static-deploy-github-pages.yaml#content[.github/workflows/deploy.yml]
6767

6868
## GitLab Pages と GitLab CI
6969

0 commit comments

Comments
 (0)